Articles → DOCKER → Create A Container With The Ubuntu Image In Docker
Create A Container With The Ubuntu Image In Docker
Prerequisite
Create A Container
sudo -i
docker run --name c2 -it -d -p 84:80 ubuntu
Install Apache In The Ubuntu Container
docker exec -it c2 bash
apt update
apt install apache2
Click to Enlarge