You are not logged in.

#1 2013-12-12 22:26:22

n_t
Member
Registered: 2013-02-01
Posts: 48

State of Docker on Arch Linux?

I noticed the 3 docker pages on their website lxc-docker* do not exist any longer in the AUR. Fortunately I managed to find the docker-git package and it installed the very latest git commit. I'd rather have some stable, but anything working is fine.

When I run docker, nearly all commands end up like this:

➜  ~  sudo docker info
2013/12/12 22:23:55 Error: Not Found

➜  ~  sudo docker run ubuntu echo "hello world"
Unable to find image 'ubuntu' (tag: latest) locally
2013/12/12 22:24:52 Error :Not Found

I'm currently trying to find clues. Nothing in journalctl; any suggestions where else to look?

Offline

#2 2013-12-12 22:36:58

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: State of Docker on Arch Linux?

I can't help you getting working correctly, but docker is now in community.

Offline

#3 2013-12-12 22:37:37

n_t
Member
Registered: 2013-02-01
Posts: 48

Re: State of Docker on Arch Linux?

Added myself to the docker group but still same problem. Rebooted my machine and problem solved. Will leave this thread here in case it helps out anyone else. Mods, feel free to delete if you don't think it is useful

Offline

#4 2013-12-12 22:57:23

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: State of Docker on Arch Linux?

When you modify the groups of the current user, they will not take effect until you log out and log back in (or reboot of course).

This situation with docker being moved to [community] was discussed on the mailing list last week.  Because there was already a docker package, quite a bit of discussion took place as to how to move the old docker package to docker-tray so that the new docker could take that name.

Offline

#5 2013-12-12 23:15:53

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: State of Docker on Arch Linux?

I just installed docker from [community] and after starting the docker service

$ sudo systemctl start docker.service

Give it a short bit to get all started up.

$ sudo docker search torrent
NAME                       DESCRIPTION                                     STARS     OFFICIAL   TRUSTED
tianon/rtorrent                                                            0                    [OK]
chug/bittorrentsync        Bittorrent Sync btsync  https://github.com...   0                    
shykes/bittorrentsync                                                      0                    [OK]
angelrr7702/transmission   Container with transmission web interface ...   1                    [OK]

Seems to work fine without any more detailed testing.

Scott

Edit: Works great! I did struggle for a bit trying to figure out why I had no network connection inside the containers...even though it was telling me why hmm  Oops.

$ sudo sysctl net.ipv4.ip_forward=1

Last edited by firecat53 (2013-12-13 00:07:35)

Offline

#6 2013-12-13 08:46:29

n_t
Member
Registered: 2013-02-01
Posts: 48

Re: State of Docker on Arch Linux?

Great, thanks for the replies. Which mailing list are you talking about, btw?

Offline

#7 2013-12-13 09:08:04

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: State of Docker on Arch Linux?

That discussion was in arch-dev-public. See https://mailman.archlinux.org/mailman/listinfo/

Offline

#8 2014-04-11 18:05:42

mostlybob
Member
Registered: 2012-01-19
Posts: 5

Re: State of Docker on Arch Linux?

I would only make one addition. Maybe it was obvious to everyone else, but for me, this required a system reboot for it to take effect. As always, ymmv, but if you're getting a message about not being able to connect to the docker daemon:

Cannot connect to the Docker daemon

and

ps -e | grep docker

returns nothing, it might help to restart.

edit - grep the whole word "docker" for precision.

Last edited by mostlybob (2014-04-11 18:07:19)

Offline

Board footer

Powered by FluxBB