Date: Fri, 23 Oct 2015 13:27:04 -0500 From: Joseph Love <joe@getsomewhere.net> To: freebsd-virtualization@freebsd.org Subject: some Docker cmd options not working? Message-ID: <0DBFBC10-4B04-4664-9EEE-26592B9C41DE@getsomewhere.net>
next in thread | raw e-mail | index | archive | help
Hi, I’ve been poking at using docker to run some linux apps. In doing so, I’ve been looking at a couple features that I cannot tell if they’re failing, or just not implemented, or if there’s some other reason that it isn’t working. The two options I’ve tried sofar that haven’t seemed to have any effect are these -v & -u. eg: docker run -i -v /tmp:/mnt —name=test centos docker exec -u testuser test /bin/sh I’ve been using the centos docker image as a basis for trying a few things, so the paths used in the -v command exist, both the path specified for the host, as well as that for the jailed guest. In the case of the user flag, -u, the user definitely exists in the guest. If I run a program which will run for a bit, and check the hosts’s “ps aux” list, the user it runs as is root, rather than the user/userid I specified. I’m mostly just curious if these parameters aren’t implemented, or if I’m trying something wrong. Thanks, -Joe
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0DBFBC10-4B04-4664-9EEE-26592B9C41DE>
