[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[atomic-devel] Shared mounts in Atomic Host
- From: Dusty Mabe <dusty dustymabe com>
- To: atomic-devel projectatomic io
- Subject: [atomic-devel] Shared mounts in Atomic Host
- Date: Wed, 16 Mar 2016 10:47:56 -0400
I am using the updates-testing f23 atomic host that has docker 1.10. I
want to have a shared mount between the host and a docker container.
I'm trying to do it but I keep getting an error
```
[vagrant vanilla-f23atomic ~]$ rpm -q docker
docker-1.10.2-6.git0f5ac89.fc23.x86_64
[vagrant vanilla-f23atomic ~]$ sudo atomic host status
TIMESTAMP (UTC) VERSION ID OSNAME REFSPEC
* 2016-03-12 16:53:31 23.87 53e922e968 fedora-atomic fedora-atomic:fedora-atomic/f23/x86_64/testing/docker-host
2016-03-16 00:49:16 23.84 b428a17d6f fedora-atomic fedora-atomic:fedora-atomic/f23/x86_64/docker-host
[vagrant vanilla-f23atomic ~]$ sudo mount --make-shared /
[vagrant vanilla-f23atomic ~]$ sudo docker run -it --privileged --rm -v /tmp/sharedfolder:/tmp/sharedfolder:shared sshfs /bin/bash
docker: Error response from daemon: Cannot start container 7e99752dd8f2812a7d7acaa58594504be936b6f37aa77b6521a7098450343837: Path /tmp/sharedfolder is mounted on /sysroot but it is not a shared mount..
```
I think this should work because this commit is in docker 1.10:
https://github.com/docker/docker/pull/17034/commits
Am I doing something wrong?
Dusty
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]