+ '[' -z '' ']' + '[' -z ubuntu:20.04 ']' + '[' -z '' ']' + '[' ubuntu:20.04 = registry.fedoraproject.org/fedora-toolbox:39 ']' + '[' -z '' ']' ++ basename ubuntu:20.04 ++ sed -E 's/[:.]/-/g' + container_name=ubuntu-20-04 + '[' -z '' ']' ++ uname -n + container_hostname=inator + '[' 0 -eq 1 ']' ++ printf %s inator ++ wc -m + '[' 6 -gt 64 ']' + case "${container_manager}" in + command -v podman + command -v podman-launcher + command -v docker + container_manager=docker + command -v docker + '[' 1 -ne 0 ']' + container_manager='docker --log-level debug' + '[' 0 -ne 0 ']' + '[' 0 -ne 0 ']' + '[' -n '' ']' + '[' -z /usr/bin/distrobox-init ']' + '[' -z /usr/bin/distrobox-export ']' + '[' 0 -ne 0 ']' + docker --log-level debug inspect --type container ubuntu-20-04 + '[' -n '' ']' + '[' 0 -eq 1 ']' + docker --log-level debug inspect --type image ubuntu:20.04 + printf 'Creating '\''%s'\'' using image %s\t' ubuntu-20-04 ubuntu:20.04 Creating 'ubuntu-20-04' using image ubuntu:20.04 ++ generate_create_command ++ result_command='docker --log-level debug create' ++ result_command='docker --log-level debug create --hostname "inator" --name "ubuntu-20-04" --privileged --security-opt label=disable --security-opt apparmor=unconfined --pids-limit=-1 --user root:root' ++ '[' 0 -eq 0 ']' ++ result_command='docker --log-level debug create --hostname "inator" --name "ubuntu-20-04" --privileged --security-opt label=disable --security-opt apparmor=unconfined --pids-limit=-1 --user root:root --ipc host' ++ '[' 0 -eq 0 ']' ++ result_command='docker --log-level debug create --hostname "inator" --name "ubuntu-20-04" --privileged --security-opt label=disable --security-opt apparmor=unconfined --pids-limit=-1 --user root:root --ipc host --network host' ++ '[' 0 -eq 0 ']' ++ result_command='docker --log-level debug create --hostname "inator" --name "ubuntu-20-04" --privileged --security-opt label=disable --security-opt apparmor=unconfined --pids-limit=-1 --user root:root --ipc host --network host --pid host' +++ basename /usr/bin/zsh ++ result_command='docker --log-level debug create --hostname "inator" --name "ubuntu-20-04" --privileged --security-opt label=disable --security-opt apparmor=unconfined --pids-limit=-1 --user root:root --ipc host --network host --pid host --label "manager=distrobox" --label "distrobox.unshare_groups=0" --env "SHELL=zsh" --env "HOME=/home/chilly" --env "container=docker --log-level debug" --env "TERMINFO_DIRS=/usr/share/terminfo:/run/host/usr/share/terminfo" --env "CONTAINER_ID=ubuntu-20-04" --volume /tmp:/tmp:rslave --volume "/usr/bin/distrobox-init":/usr/bin/entrypoint:ro --volume "/usr/bin/distrobox-export":/usr/bin/distrobox-export:ro --volume "/usr/bin/distrobox-host-exec":/usr/bin/distrobox-host-exec:ro --volume "/home/chilly":"/home/chilly":rslave' ++ echo 'docker --log-level debug' ++ grep -q podman ++ result_command='docker --log-level debug create --hostname "inator" --name "ubuntu-20-04" --privileged --security-opt label=disable --security-opt apparmor=unconfined --pids-limit=-1 --user root:root --ipc host --network host --pid host --label "manager=distrobox" --label "distrobox.unshare_groups=0" --env "SHELL=zsh" --env "HOME=/home/chilly" --env "container=docker --log-level debug" --env "TERMINFO_DIRS=/usr/share/terminfo:/run/host/usr/share/terminfo" --env "CONTAINER_ID=ubuntu-20-04" --volume /tmp:/tmp:rslave --volume "/usr/bin/distrobox-init":/usr/bin/entrypoint:ro --volume "/usr/bin/distrobox-export":/usr/bin/distrobox-export:ro --volume "/usr/bin/distrobox-host-exec":/usr/bin/distrobox-host-exec:ro --volume "/home/chilly":"/home/chilly":rslave --volume /:/run/host/:rslave' ++ '[' 0 -eq 0 ']' ++ result_command='docker --log-level debug create --hostname "inator" --name "ubuntu-20-04" --privileged --security-opt label=disable --security-opt apparmor=unconfined --pids-limit=-1 --user root:root --ipc host --network host --pid host --label "manager=distrobox" --label "distrobox.unshare_groups=0" --env "SHELL=zsh" --env "HOME=/home/chilly" --env "container=docker --log-level debug" --env "TERMINFO_DIRS=/usr/share/terminfo:/run/host/usr/share/terminfo" --env "CONTAINER_ID=ubuntu-20-04" --volume /tmp:/tmp:rslave --volume "/usr/bin/distrobox-init":/usr/bin/entrypoint:ro --volume "/usr/bin/distrobox-export":/usr/bin/distrobox-export:ro --volume "/usr/bin/distrobox-host-exec":/usr/bin/distrobox-host-exec:ro --volume "/home/chilly":"/home/chilly":rslave --volume /:/run/host/:rslave --volume /dev:/dev:rslave --volume /sys:/sys:rslave' ++ '[' 0 -eq 1 ']' ++ '[' 0 -eq 1 ']' ++ '[' 0 -eq 0 ']' ++ result_command='docker --log-level debug create --hostname "inator" --name "ubuntu-20-04" --privileged --security-opt label=disable --security-opt apparmor=unconfined --pids-limit=-1 --user root:root --ipc host --network host --pid host --label "manager=distrobox" --label "distrobox.unshare_groups=0" --env "SHELL=zsh" --env "HOME=/home/chilly" --env "container=docker --log-level debug" --env "TERMINFO_DIRS=/usr/share/terminfo:/run/host/usr/share/terminfo" --env "CONTAINER_ID=ubuntu-20-04" --volume /tmp:/tmp:rslave --volume "/usr/bin/distrobox-init":/usr/bin/entrypoint:ro --volume "/usr/bin/distrobox-export":/usr/bin/distrobox-export:ro --volume "/usr/bin/distrobox-host-exec":/usr/bin/distrobox-host-exec:ro --volume "/home/chilly":"/home/chilly":rslave --volume /:/run/host/:rslave --volume /dev:/dev:rslave --volume /sys:/sys:rslave --volume /dev/pts --volume /dev/null:/dev/ptmx' ++ '[' -e /sys/fs/selinux ']' ++ result_command='docker --log-level debug create --hostname "inator" --name "ubuntu-20-04" --privileged --security-opt label=disable --security-opt apparmor=unconfined --pids-limit=-1 --user root:root --ipc host --network host --pid host --label "manager=distrobox" --label "distrobox.unshare_groups=0" --env "SHELL=zsh" --env "HOME=/home/chilly" --env "container=docker --log-level debug" --env "TERMINFO_DIRS=/usr/share/terminfo:/run/host/usr/share/terminfo" --env "CONTAINER_ID=ubuntu-20-04" --volume /tmp:/tmp:rslave --volume "/usr/bin/distrobox-init":/usr/bin/entrypoint:ro --volume "/usr/bin/distrobox-export":/usr/bin/distrobox-export:ro --volume "/usr/bin/distrobox-host-exec":/usr/bin/distrobox-host-exec:ro --volume "/home/chilly":"/home/chilly":rslave --volume /:/run/host/:rslave --volume /dev:/dev:rslave --volume /sys:/sys:rslave --volume /dev/pts --volume /dev/null:/dev/ptmx --volume /var/log/journal' ++ '[' -L /dev/shm ']' ++ RHEL_SUBSCRIPTION_FILES=' /etc/pki/entitlement/:/run/secrets/etc-pki-entitlement:ro /etc/rhsm/:/run/secrets/rhsm:ro /etc/yum.repos.d/redhat.repo:/run/secrets/redhat.repo:ro ' ++ for rhel_file in ${RHEL_SUBSCRIPTION_FILES} +++ echo /etc/pki/entitlement/:/run/secrets/etc-pki-entitlement:ro +++ cut -d: -f1 ++ '[' -e /etc/pki/entitlement/ ']' ++ for rhel_file in ${RHEL_SUBSCRIPTION_FILES} +++ echo /etc/rhsm/:/run/secrets/rhsm:ro +++ cut -d: -f1 ++ '[' -e /etc/rhsm/ ']' ++ for rhel_file in ${RHEL_SUBSCRIPTION_FILES} +++ echo /etc/yum.repos.d/redhat.repo:/run/secrets/redhat.repo:ro +++ cut -d: -f1 ++ '[' -e /etc/yum.repos.d/redhat.repo ']' ++ '[' -n '' ']' ++ '[' -n '' ']' ++ '[' /home/chilly '!=' /var/home/chilly ']' ++ '[' -d /var/home/chilly ']' ++ '[' -d /run/user/1000 ']' ++ '[' 0 -eq 0 ']' ++ result_command='docker --log-level debug create --hostname "inator" --name "ubuntu-20-04" --privileged --security-opt label=disable --security-opt apparmor=unconfined --pids-limit=-1 --user root:root --ipc host --network host --pid host --label "manager=distrobox" --label "distrobox.unshare_groups=0" --env "SHELL=zsh" --env "HOME=/home/chilly" --env "container=docker --log-level debug" --env "TERMINFO_DIRS=/usr/share/terminfo:/run/host/usr/share/terminfo" --env "CONTAINER_ID=ubuntu-20-04" --volume /tmp:/tmp:rslave --volume "/usr/bin/distrobox-init":/usr/bin/entrypoint:ro --volume "/usr/bin/distrobox-export":/usr/bin/distrobox-export:ro --volume "/usr/bin/distrobox-host-exec":/usr/bin/distrobox-host-exec:ro --volume "/home/chilly":"/home/chilly":rslave --volume /:/run/host/:rslave --volume /dev:/dev:rslave --volume /sys:/sys:rslave --volume /dev/pts --volume /dev/null:/dev/ptmx --volume /var/log/journal --volume /run/user/1000:/run/user/1000:rslave' ++ '[' 0 -eq 0 ']' ++ NET_FILES=' /etc/hosts /etc/resolv.conf ' +++ uname -n ++ '[' inator = inator ']' ++ NET_FILES=' /etc/hosts /etc/resolv.conf /etc/hostname' ++ for net_file in ${NET_FILES} ++ '[' -e /etc/hosts ']' ++ result_command='docker --log-level debug create --hostname "inator" --name "ubuntu-20-04" --privileged --security-opt label=disable --security-opt apparmor=unconfined --pids-limit=-1 --user root:root --ipc host --network host --pid host --label "manager=distrobox" --label "distrobox.unshare_groups=0" --env "SHELL=zsh" --env "HOME=/home/chilly" --env "container=docker --log-level debug" --env "TERMINFO_DIRS=/usr/share/terminfo:/run/host/usr/share/terminfo" --env "CONTAINER_ID=ubuntu-20-04" --volume /tmp:/tmp:rslave --volume "/usr/bin/distrobox-init":/usr/bin/entrypoint:ro --volume "/usr/bin/distrobox-export":/usr/bin/distrobox-export:ro --volume "/usr/bin/distrobox-host-exec":/usr/bin/distrobox-host-exec:ro --volume "/home/chilly":"/home/chilly":rslave --volume /:/run/host/:rslave --volume /dev:/dev:rslave --volume /sys:/sys:rslave --volume /dev/pts --volume /dev/null:/dev/ptmx --volume /var/log/journal --volume /run/user/1000:/run/user/1000:rslave --volume /etc/hosts:/etc/hosts:ro' ++ for net_file in ${NET_FILES} ++ '[' -e /etc/resolv.conf ']' ++ result_command='docker --log-level debug create --hostname "inator" --name "ubuntu-20-04" --privileged --security-opt label=disable --security-opt apparmor=unconfined --pids-limit=-1 --user root:root --ipc host --network host --pid host --label "manager=distrobox" --label "distrobox.unshare_groups=0" --env "SHELL=zsh" --env "HOME=/home/chilly" --env "container=docker --log-level debug" --env "TERMINFO_DIRS=/usr/share/terminfo:/run/host/usr/share/terminfo" --env "CONTAINER_ID=ubuntu-20-04" --volume /tmp:/tmp:rslave --volume "/usr/bin/distrobox-init":/usr/bin/entrypoint:ro --volume "/usr/bin/distrobox-export":/usr/bin/distrobox-export:ro --volume "/usr/bin/distrobox-host-exec":/usr/bin/distrobox-host-exec:ro --volume "/home/chilly":"/home/chilly":rslave --volume /:/run/host/:rslave --volume /dev:/dev:rslave --volume /sys:/sys:rslave --volume /dev/pts --volume /dev/null:/dev/ptmx --volume /var/log/journal --volume /run/user/1000:/run/user/1000:rslave --volume /etc/hosts:/etc/hosts:ro --volume /etc/resolv.conf:/etc/resolv.conf:ro' ++ for net_file in ${NET_FILES} ++ '[' -e /etc/hostname ']' ++ result_command='docker --log-level debug create --hostname "inator" --name "ubuntu-20-04" --privileged --security-opt label=disable --security-opt apparmor=unconfined --pids-limit=-1 --user root:root --ipc host --network host --pid host --label "manager=distrobox" --label "distrobox.unshare_groups=0" --env "SHELL=zsh" --env "HOME=/home/chilly" --env "container=docker --log-level debug" --env "TERMINFO_DIRS=/usr/share/terminfo:/run/host/usr/share/terminfo" --env "CONTAINER_ID=ubuntu-20-04" --volume /tmp:/tmp:rslave --volume "/usr/bin/distrobox-init":/usr/bin/entrypoint:ro --volume "/usr/bin/distrobox-export":/usr/bin/distrobox-export:ro --volume "/usr/bin/distrobox-host-exec":/usr/bin/distrobox-host-exec:ro --volume "/home/chilly":"/home/chilly":rslave --volume /:/run/host/:rslave --volume /dev:/dev:rslave --volume /sys:/sys:rslave --volume /dev/pts --volume /dev/null:/dev/ptmx --volume /var/log/journal --volume /run/user/1000:/run/user/1000:rslave --volume /etc/hosts:/etc/hosts:ro --volume /etc/resolv.conf:/etc/resolv.conf:ro --volume /etc/hostname:/etc/hostname:ro' ++ echo 'docker --log-level debug' ++ grep -q podman ++ result_command='docker --log-level debug create --hostname "inator" --name "ubuntu-20-04" --privileged --security-opt label=disable --security-opt apparmor=unconfined --pids-limit=-1 --user root:root --ipc host --network host --pid host --label "manager=distrobox" --label "distrobox.unshare_groups=0" --env "SHELL=zsh" --env "HOME=/home/chilly" --env "container=docker --log-level debug" --env "TERMINFO_DIRS=/usr/share/terminfo:/run/host/usr/share/terminfo" --env "CONTAINER_ID=ubuntu-20-04" --volume /tmp:/tmp:rslave --volume "/usr/bin/distrobox-init":/usr/bin/entrypoint:ro --volume "/usr/bin/distrobox-export":/usr/bin/distrobox-export:ro --volume "/usr/bin/distrobox-host-exec":/usr/bin/distrobox-host-exec:ro --volume "/home/chilly":"/home/chilly":rslave --volume /:/run/host/:rslave --volume /dev:/dev:rslave --volume /sys:/sys:rslave --volume /dev/pts --volume /dev/null:/dev/ptmx --volume /var/log/journal --volume /run/user/1000:/run/user/1000:rslave --volume /etc/hosts:/etc/hosts:ro --volume /etc/resolv.conf:/etc/resolv.conf:ro --volume /etc/hostname:/etc/hostname:ro ' ++ result_command='docker --log-level debug create --hostname "inator" --name "ubuntu-20-04" --privileged --security-opt label=disable --security-opt apparmor=unconfined --pids-limit=-1 --user root:root --ipc host --network host --pid host --label "manager=distrobox" --label "distrobox.unshare_groups=0" --env "SHELL=zsh" --env "HOME=/home/chilly" --env "container=docker --log-level debug" --env "TERMINFO_DIRS=/usr/share/terminfo:/run/host/usr/share/terminfo" --env "CONTAINER_ID=ubuntu-20-04" --volume /tmp:/tmp:rslave --volume "/usr/bin/distrobox-init":/usr/bin/entrypoint:ro --volume "/usr/bin/distrobox-export":/usr/bin/distrobox-export:ro --volume "/usr/bin/distrobox-host-exec":/usr/bin/distrobox-host-exec:ro --volume "/home/chilly":"/home/chilly":rslave --volume /:/run/host/:rslave --volume /dev:/dev:rslave --volume /sys:/sys:rslave --volume /dev/pts --volume /dev/null:/dev/ptmx --volume /var/log/journal --volume /run/user/1000:/run/user/1000:rslave --volume /etc/hosts:/etc/hosts:ro --volume /etc/resolv.conf:/etc/resolv.conf:ro --volume /etc/hostname:/etc/hostname:ro --entrypoint /usr/bin/entrypoint ubuntu:20.04 --verbose --name "chilly" --user 1000 --group 1000 --home "/home/chilly" --init "0" --nvidia "0" --pre-init-hooks "" --additional-packages "" -- '\'''\'' ' ++ printf %s 'docker --log-level debug create --hostname "inator" --name "ubuntu-20-04" --privileged --security-opt label=disable --security-opt apparmor=unconfined --pids-limit=-1 --user root:root --ipc host --network host --pid host --label "manager=distrobox" --label "distrobox.unshare_groups=0" --env "SHELL=zsh" --env "HOME=/home/chilly" --env "container=docker --log-level debug" --env "TERMINFO_DIRS=/usr/share/terminfo:/run/host/usr/share/terminfo" --env "CONTAINER_ID=ubuntu-20-04" --volume /tmp:/tmp:rslave --volume "/usr/bin/distrobox-init":/usr/bin/entrypoint:ro --volume "/usr/bin/distrobox-export":/usr/bin/distrobox-export:ro --volume "/usr/bin/distrobox-host-exec":/usr/bin/distrobox-host-exec:ro --volume "/home/chilly":"/home/chilly":rslave --volume /:/run/host/:rslave --volume /dev:/dev:rslave --volume /sys:/sys:rslave --volume /dev/pts --volume /dev/null:/dev/ptmx --volume /var/log/journal --volume /run/user/1000:/run/user/1000:rslave --volume /etc/hosts:/etc/hosts:ro --volume /etc/resolv.conf:/etc/resolv.conf:ro --volume /etc/hostname:/etc/hostname:ro --entrypoint /usr/bin/entrypoint ubuntu:20.04 --verbose --name "chilly" --user 1000 --group 1000 --home "/home/chilly" --init "0" --nvidia "0" --pre-init-hooks "" --additional-packages "" -- '\'''\'' ' + cmd='docker --log-level debug create --hostname "inator" --name "ubuntu-20-04" --privileged --security-opt label=disable --security-opt apparmor=unconfined --pids-limit=-1 --user root:root --ipc host --network host --pid host --label "manager=distrobox" --label "distrobox.unshare_groups=0" --env "SHELL=zsh" --env "HOME=/home/chilly" --env "container=docker --log-level debug" --env "TERMINFO_DIRS=/usr/share/terminfo:/run/host/usr/share/terminfo" --env "CONTAINER_ID=ubuntu-20-04" --volume /tmp:/tmp:rslave --volume "/usr/bin/distrobox-init":/usr/bin/entrypoint:ro --volume "/usr/bin/distrobox-export":/usr/bin/distrobox-export:ro --volume "/usr/bin/distrobox-host-exec":/usr/bin/distrobox-host-exec:ro --volume "/home/chilly":"/home/chilly":rslave --volume /:/run/host/:rslave --volume /dev:/dev:rslave --volume /sys:/sys:rslave --volume /dev/pts --volume /dev/null:/dev/ptmx --volume /var/log/journal --volume /run/user/1000:/run/user/1000:rslave --volume /etc/hosts:/etc/hosts:ro --volume /etc/resolv.conf:/etc/resolv.conf:ro --volume /etc/hostname:/etc/hostname:ro --entrypoint /usr/bin/entrypoint ubuntu:20.04 --verbose --name "chilly" --user 1000 --group 1000 --home "/home/chilly" --init "0" --nvidia "0" --pre-init-hooks "" --additional-packages "" -- '\'''\'' ' + eval docker --log-level debug create --hostname '"inator"' --name '"ubuntu-20-04"' --privileged --security-opt label=disable --security-opt apparmor=unconfined --pids-limit=-1 --user root:root --ipc host --network host --pid host --label '"manager=distrobox"' --label '"distrobox.unshare_groups=0"' --env '"SHELL=zsh"' --env '"HOME=/home/chilly"' --env '"container=docker' --log-level 'debug"' --env '"TERMINFO_DIRS=/usr/share/terminfo:/run/host/usr/share/terminfo"' --env '"CONTAINER_ID=ubuntu-20-04"' --volume /tmp:/tmp:rslave --volume '"/usr/bin/distrobox-init":/usr/bin/entrypoint:ro' --volume '"/usr/bin/distrobox-export":/usr/bin/distrobox-export:ro' --volume '"/usr/bin/distrobox-host-exec":/usr/bin/distrobox-host-exec:ro' --volume '"/home/chilly":"/home/chilly":rslave' --volume /:/run/host/:rslave --volume /dev:/dev:rslave --volume /sys:/sys:rslave --volume /dev/pts --volume /dev/null:/dev/ptmx --volume /var/log/journal --volume /run/user/1000:/run/user/1000:rslave --volume /etc/hosts:/etc/hosts:ro --volume /etc/resolv.conf:/etc/resolv.conf:ro --volume /etc/hostname:/etc/hostname:ro --entrypoint /usr/bin/entrypoint ubuntu:20.04 --verbose --name '"chilly"' --user 1000 --group 1000 --home '"/home/chilly"' --init '"0"' --nvidia '"0"' --pre-init-hooks '""' --additional-packages '""' -- ''\'''\''' ++ docker --log-level debug create --hostname inator --name ubuntu-20-04 --privileged --security-opt label=disable --security-opt apparmor=unconfined --pids-limit=-1 --user root:root --ipc host --network host --pid host --label manager=distrobox --label distrobox.unshare_groups=0 --env SHELL=zsh --env HOME=/home/chilly --env 'container=docker --log-level debug' --env TERMINFO_DIRS=/usr/share/terminfo:/run/host/usr/share/terminfo --env CONTAINER_ID=ubuntu-20-04 --volume /tmp:/tmp:rslave --volume /usr/bin/distrobox-init:/usr/bin/entrypoint:ro --volume /usr/bin/distrobox-export:/usr/bin/distrobox-export:ro --volume /usr/bin/distrobox-host-exec:/usr/bin/distrobox-host-exec:ro --volume /home/chilly:/home/chilly:rslave --volume /:/run/host/:rslave --volume /dev:/dev:rslave --volume /sys:/sys:rslave --volume /dev/pts --volume /dev/null:/dev/ptmx --volume /var/log/journal --volume /run/user/1000:/run/user/1000:rslave --volume /etc/hosts:/etc/hosts:ro --volume /etc/resolv.conf:/etc/resolv.conf:ro --volume /etc/hostname:/etc/hostname:ro --entrypoint /usr/bin/entrypoint ubuntu:20.04 --verbose --name chilly --user 1000 --group 1000 --home /home/chilly --init 0 --nvidia 0 --pre-init-hooks '' --additional-packages '' -- '' + printf '\033[32m [ OK ]\n\033[0mDistrobox '\''%s'\'' successfully created.\n' ubuntu-20-04 [ OK ] Distrobox 'ubuntu-20-04' successfully created. + printf 'To enter, run:\n\n' To enter, run: + '[' 0 -eq 1 ']' + '[' 1000 -eq 0 ']' + '[' 0 -eq 0 ']' + printf 'distrobox enter %s\n\n' ubuntu-20-04 distrobox enter ubuntu-20-04 + '[' 0 -eq 0 ']' + '[' 1 -ne 0 ']' + /usr/bin/distrobox-generate-entry ubuntu-20-04 Successfully copied 2.05kB to /tmp/ubuntu-20-04.os-release + exit 0