zems80
1
Hello,
I am new to linux. I am trying to install mail server using docker installation:
after setup the hostname I run this command:
docker run --name=axigen -dt -v :/axigen/var -p 443:443 -p 9443:9443 -p 993:993 -p 995:995 -p 25:25 -p 465:465 -p 9000:9000 -p 7000:7000 axigen/axigen:10.4.3
But I got
-bash: volume: No such file or directory. help please . Do I need to do something before?
Hello @zems80,
The issue is that you did not include in your “docker run” command the location on disk where the persistent data will be saved:
docker run --name=axigen -dt -v :/axigen/var -p 443:443 -p 9443:9443 -p 993:993 -p 995:995 -p 25:25 -p 465:465 -p 9000:9000 -p 7000:7000 axigen/axigen:10.4.3
For example if you run docker on Linux or Mac you may create an “axigen” folder in your home and run axigen container using:
docker run --name=axigen -dt -v ~/axigen:/axigen/var -p 443:443 -p 9443:9443 -p 993:993 -p 995:995 -p 25:25 -p 465:465 -p 9000:9000 -p 7000:7000 axigen/axigen
Regards,
Florin
zems80
3
Hi Fkorin,
Thank so much for your help. I am using Ubuntu 20.4 can you please provide me the command?
Thanks
Hello @zems80 ,
- Create a the “axigen” folder in your user home folder:
mkdir ~/axigen
- Run axigen container using:
docker run --name=axigen -dt -v ~/axigen:/axigen/var -p 443:443 -p 9443:9443 -p 993:993 -p 995:995 -p 25:25 -p 465:465 -p 9000:9000 -p 7000:7000 axigen/axigen
Regards,
Florin
1 Like