Bind mount vs Volume on Docker. What's the difference between bind mounts and volumes?

preview_player
Показать описание
What is a bind mount and what is a volume exactly in Docker container (or LXC container)?
How to create bind mount and how to create a volume?
What is a named volume and unnamed volume?
Answers to all those questions in todays video :)

You might also be interested in following video:
Bind mount NAS (CIFS/SMB/NFS) shares to Unprivileged LXC Proxmox container, link below

== TIMESTAMPS ==
0:00 Bind mount vs volume
0:50 docker run busybox container
1:45 connecting to our docker container
2:45 docker inspect container
4:09 creating bind mount with docker -v command
7:10 creating unnamed volume with docker -v command
9:20 docker volume inspect command
11:00 docker volume rm , ls and create commands
11:55 creating named volume with docker -v command
13:25 using docker run --mount command

Thank you for watching :)
== 32 ==
Рекомендации по теме
Комментарии
Автор

== TIMESTAMPS ==
0:00 Bind mount vs volume
0:50 docker run busybox container
1:45 connecting to our docker container
2:45 docker inspect container
4:09 creating bind mount with docker -v command
7:10 creating unnamed volume with docker -v command
9:20 docker volume inspect command
11:00 docker volume rm, ls and create commands
11:55 creating named volume with docker -v command
13:25 using docker run --mount command

Please let me know if you have any questions.
Marek

Automation-Avenue
Автор

Excellent tutorial, this made the topic very understandable to me. Thanks!