Which looks even stranger.
I see we don't have the same version of docker. I have version 18.06.3,
build d7080c1. Did you install docker from
https://docs.docker.com/install/ ?
Yes, for docker-ce I installed it from the page's Linux/Fedora page
when I used Fedora 29.
If you are fine to remove all the images, try below one.
$ sudo systemctl stop docker
$ cd /var/lib/
$ sudo rm -rf docker
$ sudo systemctl start docker
<= recreate initial /var/lib/docker
$ docker run -it --rm docker.io/php:7-fpm-alpine sh
For podman, if you have not set the rootless setting to run podman
without sudo, you can try it with sudo.
$ sudo podman run -it --rm docker.io/php:7-fpm-alpine sh
Does below command work for you?
$ docker run -t --rm docker.io/alpine uname -a
Linux 828dcafd0bbe 5.0.10-300.fc30.x86_64 #1 SMP Tue Apr 30 16:22:12
UTC 2019 x86_64 Linux
However, dk run --userns=host -it --rm docker.io/php:7-fpm-alpine sh
works fine. So it seems to be limited to user namespaces.
What is dk command?
--
Jun Aruga / He - His - Him