Docker #1 - Managing images & containers (in 12 minutes)

preview_player
Показать описание
In this first video about Docker, we'll cover how to pull images from Docker hub, run containers from them, change them and make images out of containers.
#docker #terminal

Timestamp:
0:00 Intro
0:18 Docker intro
00:36 Download Docker Desktop for Windows, Mac or Linux
00:43 Docker cloud playground CLI
1:18 Docker pricing
1:25 Why I'm using Docker?
1:44 Two terminal setup for Docker
2:03 Docker hub images
2:29 Docker pull images (alpine)
2:43 Docker error, restart
2:58 Docker images
3:17 Docker files, images & containers
3:32 Docker run image
4:20 Inside Docker image/container
4:42 Docker containers
4:56 Docker ps
5:31 Exit container
5:54 Docker ps -a
6:26 Docker ps -l
6:35 Docker difference between containers
7:00 Run a Docker container
7:10 Start Docker container
7:25 Docker exec
7:40 Alpine APK package manager
8:15 Add user to Alpine container with sudo/wheel permission & change password
8:36 Create image from container
8:46 Docker commit
9:36 Run new Docker image
9:46 Docker remove container
10:02 Docker remove image
10:16 Docker prune container/image
10:36 Docker system prune, remove all
10:49 Start with different user or home directory with alias

Used links:

Used commands:
alt+shift+D for second terminal pane in Windows Terminal
docker pull alpine
docker pull ubuntu
docker images
docker run -it alpine sh
docker run -it ubuntu bash
docker ps
docker ps -a
docker ps -l
docker start containerID
docker stop containerID
docker exec -it containerID sh
docker commit containerID newName
docker rm containerID
docker rmi imageName
docker container prune
docker image prune -a
docker system prune -a
docker start containerID; docker exec -it --user itvraag -w /home/itvraag containerID bash

apk update
apk upgrade
apk add bash vim
adduser itvraag
addgroup itvraag wheel
passwd
Рекомендации по теме