intro-to-docker | An introduction to Docker | Continuous Deployment library
kandi X-RAY | intro-to-docker Summary
kandi X-RAY | intro-to-docker Summary
This is material for REA's internal introductory Docker training. The slide-deck is implemented in HTML and Javascript, so is easy to run in any browser. Open index.html to start.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Determines whether a test or not .
- In debug mode
- Decode the symbol .
- Decode a header string .
- parse a uri
- called on new transport
- Encode a JSON object
- Has binary data .
- Removes blob from object .
- Modify style attributes to use CSS style .
intro-to-docker Key Features
intro-to-docker Examples and Code Snippets
Community Discussions
Trending Discussions on intro-to-docker
QUESTION
I'm reading a document from Microsoft that states about Docker volumes
Volumes are stored within directories on the host filesystem. Docker will mount and manage the volumes in the container. Once mounted, these volumes are isolated from the host machine.
Multiple containers can simultaneously use the same volumes. Volumes also don't get removed automatically when a container stops using the volume.
In our example, we can create a directory on our container host and mount this volume into the container when we create the tracking portal container. When our tracking portal logs data, we can access this information via the container host's filesystem. We'll have access to this log file even if our container is removed.
I'm confused as I understand that the volumes are isolated from the host machine, but how can that be if we can access to the data via the host.
...ANSWER
Answered 2020-Sep-24 at 01:35I'm less familiar with Docker on Windows, but I'm sure it's probably the same as Linux in this regard...
Docker volumes are "isolated on the host machine" by being in a particular location with particular permissions on the host's filesystem (i.e. via namespaces). Users/accounts with elevated permissions would still be granted access to those directories/files.
By contrast a bind mount can be made to (pretty much) any directory on the host's file system.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install intro-to-docker
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page