-
Notifications
You must be signed in to change notification settings - Fork 7
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
The changes to the file on a host system are not visible from the inside container. #234
Comments
I have the same issue on Ubuntu 22.04. it seems very similar to docker/for-win#14060 which was fixed in 4.31.0 The solution I found for now is to rollback to 4.29.0 |
@zagumaar There is not such version on Ubuntu 24.04 ) The earliest version is 26.0.0 =( |
@EugenKon I found it here: https://docs.docker.com/desktop/release-notes/#4290 |
@zagumaar's solution worked. If you're using Windows and encounter an error message indicating that you can't upgrade Docker for Desktop because a higher version is already installed, you can bypass this by:
|
Same problem since upgrading from 4.32 to latest releases. I'm on Pop!_OS 22.04. |
Description
This is the same as: docker/for-win#5530 but for Ubuntu 24.04
Changes to a mounted file into container are not visible.
More details:
hashicorp/nomad#23691 (comment)
Reproduce
I mounted file into container
Do some changes to the file on a host system
docker exec into container
less to the mounted file
Expected behavior
I expect to see the changed I did to the file on a host system. But they are not visible
docker version
Client: Docker Engine - Community Version: 27.1.1 API version: 1.46 Go version: go1.21.12 Git commit: 6312585 Built: Tue Jul 23 19:57:14 2024 OS/Arch: linux/amd64 Context: default Server: Docker Engine - Community Engine: Version: 27.1.1 API version: 1.46 (minimum version 1.24) Go version: go1.21.12 Git commit: cc13f95 Built: Tue Jul 23 19:57:14 2024 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.7.19 GitCommit: 2bf793ef6dc9a18e00cb12efb64355c2c9d5eb41 runc: Version: 1.7.19 GitCommit: v1.1.13-0-g58aa920 docker-init: Version: 0.19.0 GitCommit: de40ad0
docker info
Diagnostics ID
bash: /opt/docker-desktop/bin/com.docker.diagnose: No such file or directory
Additional Info
This is Ubuntu 24.04
The text was updated successfully, but these errors were encountered: