Skip to content
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 some docs on locating bind mounts #9

Open
psychemedia opened this issue Oct 16, 2023 · 1 comment
Open

Add some docs on locating bind mounts #9

psychemedia opened this issue Oct 16, 2023 · 1 comment

Comments

@psychemedia
Copy link
Contributor

Once a container is created you can’t change what’s mounted into it – you need delete old container and create a new one.

Maybe add something to troubleshooting guide? For example:

You can inspect what’s mounted where from Docker dashboard – containers tab, click on the container, then select Bind mounts tab:

image

You can also inspect from the command line:

docker inspect CONTAINERNAME

Eg from example above:

docker inspect sdsdssd

Then look for the Mounts part of the response

image

@KarenVines
Copy link
Contributor

Yes I think it would be a good thing to add. I think this best place would be to add it to the Troubleshooting section.

Also having taken a look I wonder if the 'Stopping, starting and restarting a container' subheading in Section would be better as 'Stopping, starting, restarting and deleting a container'. (Or some other ordering that includes 'deleting'. The other option would be to have a subsection specifically devoted to deleting the container. Instructions are there in Figures 4.8 and 4.89 but I worry the heading might cause students to miss it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants