Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
81 views8 pages

Docker Basics for Developers

Docker is an open source software platform to create and manage application containers. Docker commands are used to build images and run containers. When running a container, it uses an isolated filesystem provided by a container image, which contains everything needed to run an application.

Uploaded by

Lokesh .M
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
81 views8 pages

Docker Basics for Developers

Docker is an open source software platform to create and manage application containers. Docker commands are used to build images and run containers. When running a container, it uses an isolated filesystem provided by a container image, which contains everything needed to run an application.

Uploaded by

Lokesh .M
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 8

Docker (Activity-3)

•Docker is an open source software platform to


create, deploy and manage virtualized application
containers on a common operating system.

•The Docker commands are how you interact with


Docker. You use Docker commands to build a Docker
image, run a Docker container.

•docker pull. Usage: docker pull <image name> ...


•docker run. Usage: docker run –it <image name> ...
Container Image
• When running a container, it uses an isolated
filesystem. This custom filesystem is provided
by a container image. Since the image
contains the container’s filesystem, it must
contain everything needed to run an
application- all dependencies, configurations,
scripts, binaries, etc. The image also contains
other configuration for the container, such as
environment variables, a default command to
run, and other metadata.
Open control pannel:
• Program and features
• Turn windows features on
• Windows subsystem for Linux ( click on).
POWER SHELL:
wsl –update.
FLAGS
• -i: i want to interact with container
• -t: t need output on terminal.
• -rm: remove from container after use.
• -p: code mapping to local host
For minesweeper
• docker build -t minesweeper
• docker run -it --rm -p 5000:5000 nadav42/minesweeper
+

You might also like