Re: Docker and user namespaces on F30

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

 



On Wed, 2019-05-08 at 19:09 +0200, Jun Aruga wrote:
> > 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

I tried and it didn't work.

> 
> 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?

An alias to the docker command. I forgot to edit the command after
pasting it here. Sorry.

> 

I managed to make the command work after updating to docker 18.09.5
(same version as you). Docker doesn't officially provide RPM for fedora
30 for the stable version of docker yet but I was able to build it from
SRPM available on koji for F31.

So I guess I'll just ask if this version can be pushed to F30.

> -- 
> Jun Aruga / He - His - Him
-- 
Julien Enselme
http://www.jujens.eu/
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux