Avatart Stan Keller

Stan Keller

Peerobyte is a team of extremely enthusiastic specialists with a foothold in the European market via a Tier III Data Center in Frankfurt, Germany.

Peerobyte‘s roots are in server equipment because many of our engineers started their career in hardware infrastructure and its virtualization. That is why our team has expertise in building and developing cloud infrastructure to provide stable and flexible systems for every challenges of our clients.

answers & questions of Stan Keller

Learn more

How to keep a Docker container running after starting several services?

Hi everyone! My name is Stan I’m new to Docker and would like to ask you, as I see many questions on this topic here. What methods do you use to keep a Docker container alive and running when you start multiple services? I create a Docker container where, through the script start-services.sh, services like a web server and additional daemons are started. In the Dockerfile, I write:
		
CMD ["sh", "/opt/start-services.sh"]
The script starts the services successfully, but then it finishes and the container stops immedi
Gravatar — онлайн-сервис, позволяющий пользователям Интернета поддерживать постоянную картинку на большинстве сайтов.

Replied 1 year ago

17 replies

9 votes

How to keep a Docker container running after starting several services?

Hi everyone! My name is Stan I’m new to Docker and would like to ask you, as I see many questions on this topic here. What methods do you use to keep a Docker container alive and running when you start multiple services? I create a Docker container where, through the script start-services.sh, services like a web server and additional daemons are started. In the Dockerfile, I write:
		
CMD ["sh", "/opt/start-services.sh"]
The script starts the services successfully, but then it finishes and the container stops immedi
Gravatar — онлайн-сервис, позволяющий пользователям Интернета поддерживать постоянную картинку на большинстве сайтов.

Replied 1 year ago

17 replies

9 votes

Subscribe to our newsletter to get articles and news