Public | Automated Build

Last pushed: 7 months ago
Short Description
VestaCP on Docker
Full Description

[Deprecated] VestaCP on Docker

Use of the VestaCP in one image is a bad way. Use the docker-compose

A dockerized version of VestaCP. Without FTP server.

Usage

Running VestaCP docker image

nginx + php7

docker run -d \
  --restart=always \
  -p 2222:22 -p 80:80 -p 8083:8083 -p 3306:3306 -p 443:443 \
  -p 25:25 -p 993:993 -p 110:110  -p 53:53 -p 53:53/udp -p 54:54 \
  -v /var/vesta:/vesta \
  lagun4ik/vestacp:php7

apache + nginx + php5

docker run -d \
  --restart=always \
  -p 2222:22 -p 80:80 -p 8083:8083 -p 3306:3306 -p 443:443 \
  -p 25:25 -p 993:993 -p 110:110  -p 53:53 -p 53:53/udp -p 54:54 \
  -v /var/vesta:/vesta \
  lagun4ik/vestacp:latest

Authorization

Login: admin
Password: admin

Authorization mysql

Login: root
Password: admin

SSH and FTP

Use SFTP instead of FTP.

SSH and SFTP are available on the 2222 port

Docker Pull Command
Owner
lagun4ik
Source Repository

Comments (4)
cenode
8 months ago

the graphs don't work just loads a corrupt image.

chrooter
10 months ago

when i add VESTA USER -

Error: user creation failed

lagun4ik
a year ago

thanks @amunhoz
I fixed this

amunhoz
a year ago

1.You have to replicate the file /etc/shadow too, otherwise it will reset the admin password everytime.
2.And change the ip 127.0.0.1:80 to :80 127.0.0.1:443 to :443 from /home/admin/conf/web, otherwise nginx will not let you access.

  1. run command it needs -p 53:53/udp to dns server works.
    4.You need to copy /etc/bind too, otherwise the dns server will not keep the added domains too.
    5.recommend to copy the /etc/profile too.
    6.copy the /var/lib/mysql, otherwise it will not keep database records.
    7.You can copy /var/log too, to make it easier to find problems.
    8.In my case, i will copy the folder /backup too.

But still, it resets the password to admin everytime it restarts.