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

Re: [atomic-devel] docker optionsin /etc/sysconfig/docker

On 06/01/2018 12:07 PM, arnaud gaboury wrote:

On Fri, Jun 1, 2018 at 5:04 PM Daniel Walsh <dwalsh redhat com> wrote:
On 06/01/2018 10:58 AM, arnaud gaboury wrote:
> I am switching from fedora server to Atomic.
> In the old world, my "/etc/sysconfig/docker" file had the content:
> OPTIONS="--selinux-enable"
> Now, after running the script container-storage-setup to create a thin
> pool volume, the file with options is now
> "/etc/sysconfig/docker-storage" and has the following content:
> ---------------------
> DOCKER_STORAGE_OPTIONS="--storage-driver devicemapper --storage-opt
> dm.fs=xfs --storage-opt
> dm.thinpooldev=/dev/mapper/vg--docker-docker--pool --storage-opt
> dm.use_deferred_removal=true --storage-opt dm.use_deferred_deletion=true "
> ---------------------
> Nothing about SELinux. Is it expected? Shall I write this option
> somewhere else?
> Thank you.

I think it should have that flag. If you run a container what does cat
/proc/self/attr/current show?

# docker run hello-world
# cat /proc/self/attr/current

Should have been more clear

docker run fedora cat /proc/self/attr/current

Of course I would prefer

podman run fedora cat /proc/self/attr/current

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