Assignment – 1

Create a POST on bestDevops.com and answer following questions?

  • Install Docker in your assigned VM?
    • Installed the Docker in the VM. — [root@ip-172-31-8-134 centos]
    • Verification:
  • Verify docker installation and basic commands?
  • Self proov it – What is Container?
  • Playing with different Docker commands:-

Container Lifecycle?

create -> start -> stop -> start -> restart -> pause -> unpause -> kill -> remove

Create a container:

Pulling a jenkins image.:

  • start a container:
  • stop the container
  • start and restart
  • pause and unpause a container:

  • kill a container
here we can see that the port allocated is not there anymore.

  • rename
  • remove
  • What is the diff between docker pause and docker unpause?

unpause container : un-suspends the processes

  • What is the diff between docker stop and docker kill?

docker stop will stop the container and docker kill will release the resources.

& publish and share a url in the chat windows.