Page 1 of 1

docker official image

Posted: Thu Aug 09, 2018 11:11 am
by canoodle
first of all: thank you! vestacp rocks! it is simple and fast and high quality! keep it up :)

right now (2018.08) i get this when searching for vestacp templates.
there is no official template. do you plan on creating one? :)

Code: Select all

docker search vestacp
INDEX       NAME                                           DESCRIPTION                                     STARS     OFFICIAL   AUTOMATED
docker.io   docker.io/niiknow/vestacp                      Dockerized Vesta Control Panel aka vestacp      27                   [OK]
docker.io   docker.io/lagun4ik/vestacp                     VestaCP on Docker                               17                   [OK]
docker.io   docker.io/babim/vestacp                        docker-vestacp                                  5                    [OK]
docker.io   docker.io/cassa/vestacp                                                                        5                    
docker.io   docker.io/nsotnikov/vestacp                    VestaCP on Docker (NGINX + PHP5-FPM + MYSQ...   3                    
docker.io   docker.io/lolhens/vestacp                      vestacp                                         1                    [OK]
docker.io   docker.io/wilcot/vestacp                       Dockerized version of Vesta Control Panel       1                    [OK]
docker.io   docker.io/andiabdur/my-vestacp                                                                 0                    
docker.io   docker.io/andrazb/vestacp                      test of vestacp                                 0                    
docker.io   docker.io/bakaut/vestacp                       vesta                                           0                    
docker.io   docker.io/bigcloudcms/alpine-vestacp-webmin    alpine linux with vestacp and webmin            0                    
docker.io   docker.io/brainkit/vestacp                                                                     0                    
docker.io   docker.io/forceman28/centos6-vestacp           Centos 6 + VestaCP                              0                    
docker.io   docker.io/gabrielcossette/vestacp              Test                                            0                    [OK]
docker.io   docker.io/igi7/vestacpwp                                                                       0                    
docker.io   docker.io/luizjrdeveloper/vestacp-dev                                                          0                    
docker.io   docker.io/ndkimhao/vestacp                                                                     0                    
docker.io   docker.io/nebengserver/vestacp-beta                                                            0                    
docker.io   docker.io/sayamol/centos7.5-vestacp-php7.2.8                                                   0                    
docker.io   docker.io/segin/vestacp                        Vesta control panel                             0                    
docker.io   docker.io/zvenzzon/vestacp                     VestaCP Centos 6.X                              0                    
Docker, Inc. sponsors a dedicated team that is responsible for reviewing and publishing all content in the official repositories. This team works in collaboration with upstream software maintainers, security experts, and the broader Docker community.

While it is preferable to have upstream software authors maintaining their corresponding Official Repositories, this is not a strict requirement. Creating and maintaining images for Official Repositories is a public process. It takes place openly on GitHub where participation is encouraged. Anyone can provide feedback, contribute code, suggest process changes, or even propose a new Official Repository.

https://docs.docker.com/docker-hub/official_repos/

i can allready spot a problem with the image-template "docker.io/niiknow/vestacp"

if you checkout:
https://github.com/niiknow/vestacp

you will see that MySQL port (3306) is open to the internet? i don't think this is a good idea. only connections from localhost shall be allowed for security reasons.

ps: i would also create a whole new category in this forum called: "security"
where problems and suggestions to improve security can be discussed. it will be important.

great news: vestacp works in docker!

I was able to get SystemD working inside an image built FROM centos:centos7 with:

Code: Select all

docker run --privileged -ti -e "container=docker" -v /sys/fs/cgroup:/sys/fs/cgroup docker.io/centos /usr/sbin/init
credits go here: https://github.com/moby/moby/issues/7459

WARNING: I have no idea what this means for security or stability or whatever you thought it does.

host used:

Code: Select all

hostnamectl;
Virtualization: kvm
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 4.17.12
Architecture: x86-64
result:

Code: Select all


Thank you for using Softaculous
Starting vesta (via systemctl):                            [  OK  ]
=======================================================

 _|      _|  _|_|_|_|    _|_|_|  _|_|_|_|_|    _|_|   
 _|      _|  _|        _|            _|      _|    _| 
 _|      _|  _|_|_|      _|_|        _|      _|_|_|_| 
   _|  _|    _|              _|      _|      _|    _| 
     _|      _|_|_|_|  _|_|_|        _|      _|    _| 


Congratulations, you have just successfully installed Vesta Control Panel

    https://XXX.XXX.XXX.XXX:8083
    username: XXXXXX