Revise again with few more commands. learning port number assigning and other things
First step, creating a container by running the below command
docker run -itd --name con2 ubuntu:18.04
Next step , is we need to login inside the container.
Why the container got stopped Now.
The reason, is when ever we are running use bash command, a new processor will be created, and when we select exit . it is going to kill that processor.
Now, you can see only one process will be running
Let me map to the port
Next let us install Apache inside newly created container
No comments:
Post a Comment
Thank you for visiting my blog