[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [atomic-devel] Shared mounts in Atomic Host



--cap-add SYS_ADMIN ?

On 03/16, Dusty Mabe wrote:
> 
> 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
> 

-- 

Charlie Drage
Red Hat - OSAS Team / Project Atomic
4096R / 0x9B3B446C
http://pgp.mit.edu/pks/lookup?op=get&search=0x622CDF119B3B446C


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]