Public bug reported:

By example, using a simple container using docker.io:

Dockerfile:
FROM python:3

And now create it:

mkdir ./files;
touch ./files/sample
sudo docker build -t test:latest .;
sudo docker create --name test -v ./files:/files test:latest;

Now run it:
$ sudo docker run --rm -it --entrypoint bash test;
root@b3699a137900:/# ls -lah /files
total 8.0K
drwxr-xr-x 2 root root 4.0K Aug 23 21:49 .
drwxr-xr-x 1 root root 4.0K Aug 23 21:49 ..
root@b3699a137900:/#

I use ubuntu 24.04 and last docker.io package:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 24.04 LTS
Release:        24.04
Codename:       noble
$ docker --version
Docker version 24.0.7, build 24.0.7-0ubuntu4

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: docker.io 24.0.7-0ubuntu4
ProcVersionSignature: Ubuntu 6.8.0-41.41-generic 6.8.12
Uname: Linux 6.8.0-41-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Fri Aug 23 17:56:44 2024
InstallationDate: Installed on 2024-07-09 (45 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: docker.io-app
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: docker.io-app (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble wayland-session

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2077774

Title:
  Unable bind local folders using docker

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/docker.io-app/+bug/2077774/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to