Skip to content

Instantly share code, notes, and snippets.

@cjeanner
Last active October 2, 2018 18:05
Show Gist options
  • Save cjeanner/72b7ef18ac072d6bfefc8ea7ecefafbd to your computer and use it in GitHub Desktop.
Save cjeanner/72b7ef18ac072d6bfefc8ea7ecefafbd to your computer and use it in GitHub Desktop.
podman-in-podman and selinux
[root@undercloud ~]# podman run --rm --user root -ti --security-opt label=disable -v /var/lib/containers:/var/lib/containers:rw -v /etc/containers:/etc/containers:ro -v /usr/bin:/usr/bin:ro -v /dev/shm:/dev/shm:rw -v /usr/libexec/podman/conmon:/usr/libexec/podman/conmon:ro -v /usr/lib64/libseccomp.so.2:/usr/lib64/libseccomp.so.2:ro -v /usr/lib64/libseccomp.so.2.3.1:/usr/lib64/libseccomp.so.2.3.1:ro docker.io/tripleomaster/centos-binary-neutron-server:965941f1e62cef16967e7a7cd6d98263e52acb62_0989b280 /bin/bash
()[root@f79e547c44ef /]# podman ps
ERRO[0000] 'overlay' is not supported over xfs at "/var/lib/containers/storage/overlay"
error creating libpod runtime: kernel does not support overlay fs: 'overlay' is not supported over xfs at "/var/lib/containers/storage/overlay": backing file system is unsupported for this graph driver
()[root@f79e547c44ef /]#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment