-
Notifications
You must be signed in to change notification settings - Fork 0
[P1] 5. Docker
Kim Seohyun edited this page Jun 27, 2022
·
8 revisions
Docker is a Linux-based, open-source containerization platform. Developers use to build, run, and package applications for deployment using containers.
Images are like blueprints containing instructions for creating a Docker container. Images define:
- Application dependencies
- The processes that should run when the application launches
You can get images from DockerHub or create your own images by including specific instructions within a file called Dockerfile.
Containers are live instances of images on which an application or its independent modules are run. In an object-oriented programming analogy, an image is a class and the container is an instance of that class. This allows operational efficiency by allowing to you to multiple containers from a single image.
-
USER
command - How to install and user docker compose on ubuntu 20.04
- choosing alternative python version
> sudo update-alternatives --install /usr/bin/python python /usr/bin/python${v1} 1 > sudo update-alternatives --install /usr/bin/python python /usr/bin/python${v2} 1 > sudo update-alternatives --config python