C
C
chelkaz2017-06-20 10:26:45
Docker
chelkaz, 2017-06-20 10:26:45

Is Docker built from images?

For example, there is a PHP + Nginx image
But I still need OS CentOS
Do I need to do for example docker pull PHPNginx and docker pull CentOS to create two images?
After all, it is considered correct - ONE CONTAINER = ONE SERVICE!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
IceJOKER, 2017-06-20
@IceJOKER

If you need OS CentOS on which php + nginx is installed, then create an image based on CentOS and install everything you need inside it.

docker pull PHPNginx and docker pull CentOS
- so you will separately unload two independent images

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question