Sign inSign up

msanchez3/supervisor-ssh-httpd-vsftp

By msanchez3

•Updated over 6 years ago

Image
0

160

msanchez3/supervisor-ssh-httpd-vsftp repository overview

⁠SUPERVISOR WITH HTTP,SSH AND VSFTP MORE DOCKERCOMPOSE

In this readme i'll explain a simple things about me repository.

To get started we need know what services are implemented on the dockerfile for create a container, in this case we have a http, ssh, vsftp and the most important supervisor (it's the manager who start and stop the other services on the contaniner).

⁠For start a sesion in the supervisor we need create a user and his password so, we need put this lines on the dockerfile.

ENV USER=[name of user]

ENV PASSWORD=[password of user]

And another path is with the command docker run:

docker run -d -p [port:port] -p [port:port] -e [name user] -e [password]

In this example for start all containers we have this script:

ENTRYPOINT ["/config/bootstrap.sh"]

Whit this we can start supervisor and the other services.

⁠For supervisor can start the other services they need a extra files of configuration, this files need to stay an a determinated folder and have a configuration. Example of configuration on ssh:

[program:sshd] command=/usr/sbin/sshd -D -f /etc/ssh/sshd_config

Att: Michael Sánchez Peinado

Tag summary

Content type

Image

Digest

Size

295.9 MB

Last updated

over 6 years ago

docker pull msanchez3/supervisor-ssh-httpd-vsftp