Course Content
Subtitle Guide – Hướng dẫn thêm phụ đề
0/1
03 – Resources for this course
0/1
Docker, From Zero To Hero: Become a DevOps Docker Master
About Lesson

Hello!

The idea of this article is that you solve the following problem using what you have learned.

At work, you have a request to create a couple of containers. Find the details below:

– A container with the Apache + php image created in the previous exercise with:

* 50Mb RAM limits

* You can only access the CPU 0

* It must have two environment variables:

* ENV = dev

* VIRTUALIZATION = docker

* The webserver must be accessible via port 5555 in the browser

– A container with the Apache + php image created in the previous application with:

* 100Mb RAM limits

* You can access CPU 0 and 1

* You must have three environment variables:

* ENV = stg

* VIRTUALIZATION = docker

* TYPE = container

* The webserver must be accessible via port 8181 in the browser

You should check its operation by entering your localhost: 5555 and localhost: 8181

Have fun!

Join the conversation