-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add files via upload (docker volume article) #28
Conversation
d933a80
to
d53d454
Compare
- add links to docker doc - focus the artcile on volumes instead of bind mounts, while giving key resources about their differences - highlight key information
hey @FireFrozen94 if you see this I've updated a bit the article I tjink it is ready for publishing 👍 |
Yay let's gooo
Le sam. 13 avr. 2024, 06:07, ClementMabileau ***@***.***> a
écrit :
… hey @FireFrozen94 <https://github.com/FireFrozen94> if you see this I've
updated a bit the article I tjink it is ready for publishing 👍
—
Reply to this email directly, view it on GitHub
<#28 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BAOG7HYVKJXSHQKN3LH2L2TY5BEKNAVCNFSM6AAAAABDRM4S3KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJSGUZTIMBRGU>
.
You are receiving this because you were mentioned.Message ID: <iScsc/blog.
***@***.***>
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once this will be corrected, it seems good to be published to me!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting topic!
Few comments but the overall quality of your article is really good!
@atxr tks for your comments, when I read them I got the feeling that you were putting the finger where it huts 😆 But that's also for the best, to be honest I knew I was missing something about the distinction between volumes/bind mounts, you just gave me the opportunity to enlighten it and learn a bit more! So let's dive into it (with further research and reading from me)!
TLDRWhat we're talking about in this blog aren't volumes at all (even if we use Volumes are not only managed by Examples with
You'll see that even in docker's doc the naming is confusing
WTF Detailed explanationActually there are 3 ways of sharing data in docker:
Named volumesThey are a space which exists outside of the container, managed by docker (exist in Named volumes are created either with the
also here at Anonymous volumesThey are volumes too, only we don't give them a name. They are created with
Bind mountsBind mounts are actually what we describe in the article, they are a file or folder existing on host (at another path than They are created with
Ressourcesdocker doc:
Other sources: |
@atxr What I've written above is almost a blog post in itself ahah Sorry for the extensive writing, I just wanted to avoid any possible misunderstanding which would have necessarily lead to pointless debates. In the end it was @FireFrozen94 who was right to speak about bind mounts in his article, they are nothing alike volume and I was wrong to confuse them. I'll soon propose a version that should satisfy everyone |
Don't worry I didn't dig dip enough to get all the details you just highlighted in your TLDR |
@atxr @ZynoXelek I finally found some time to propose an up-to-date and confusion-less (I hope) version of the article Sorry @FireFrozen94 for the previous modifications which were partially wrong, my bad 😓 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wonderful 🦄
Much clearer 💡
tks @atxr could You approve now? 🙂 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is ready to be published now
this article plain to explain how to use bind mounts in docker, in the particular example of building a log system