Re: Confined Docker snap available

2016-11-01 Thread Peng Liu
Oh, I figured out the root cause. It's the permission. After added the user to the docker group, I can run docker commands now. $sudo gpasswd -a ${USER} docker Docker snap works perfectly! Thanks. On Tue, Nov 1, 2016 at 6:26 PM, Peng Liu wrote: > Hi Loïc, > > I also realized that might be a p

Re: Confined Docker snap available

2016-11-01 Thread Peng Liu
Hi Loïc, I also realized that might be a problem in an old version. So I upgraded the snapd to the latest version. $ snap --version snap 2.16ubuntu3 snapd 2.16ubuntu3 series 16 ubuntu 16.04 And I tried to install the docker from both stable and edge channel. In both cases, the plug and slot can

Re: Confined Docker snap available

2016-11-01 Thread Loïc Minier
Hi, What's the output of snap --version? Thanks! - Loïc Minier On Tue, Nov 1, 2016 at 4:21 AM, Peng Liu wrote: > Hi Loïc, > > I encountered some errors when I tried to connect the interfaces, for > example: > > sudo snap connect docker:d

Re: Confined Docker snap available

2016-10-31 Thread Peng Liu
Hi Loïc, I encountered some errors when I tried to connect the interfaces, for example: sudo snap connect docker:docker-cli docker:docker-daemon error: cannot perform the following tasks: - Connect docker:docker-cli to docker:docker-daemon

Re: Confined Docker snap available

2016-10-21 Thread Steve Langasek
On Fri, Oct 21, 2016 at 08:42:13AM +0200, Oliver Grawert wrote: > On Fr, 2016-10-21 at 00:28 +0200, Loïc Minier wrote: > > > Any blockers for s390x? > > We need an OS snap for this arch first, and we don't have this ATM; > > maintaining a .deb might be less work – not sure. > we definitely have

Re: Confined Docker snap available

2016-10-21 Thread Loïc Minier
Hi, On Fri, Oct 21, 2016 at 12:28 AM, Loïc Minier wrote: > > Very nice. What's the ETA on snap-declaration? > > (have to check on that; it's either just an admin thing or "soon") > So it's now exposed in the store web UI for reviews since a day or two. I've pushed new snaps this morning and as

Re: Confined Docker snap available

2016-10-21 Thread Mark Shuttleworth
On 20/10/16 20:18, Dustin Kirkland wrote: > Hmm, that feels like something Snaps should learn to express as a > declaration, right? Yes, I think that's definitely something we want to enable, we just need to find a nice cross-distro way to do that. Mark -- Snapcraft mailing list Snapcraft@lists

Re: Confined Docker snap available

2016-10-20 Thread Oliver Grawert
hi, On Fr, 2016-10-21 at 00:28 +0200, Loïc Minier wrote: >   > > Any blockers for s390x? > > We need an OS snap for this arch first, and we don't have this ATM; > maintaining a .deb might be less work – not sure. > we definitely have one ;)  http://people.canonical.com/~ogra/core-builds/ but i

Re: Confined Docker snap available

2016-10-20 Thread Loïc Minier
On Thu, Oct 20, 2016 at 8:18 PM, Dustin Kirkland wrote: > > Because the docker.sock path is hardcoded in a lot of images, this snap > > conflicts with docker debs, so make sure you remove them first: > > sudo apt purge docker docker-engine > > Hmm, that feels like something Snaps should learn to

Re: Confined Docker snap available

2016-10-20 Thread Dustin Kirkland
On Tue, Oct 18, 2016 at 4:48 AM, Loïc Minier wrote: > Hi! > > Docker is since some days available as a properly confined snap. This will > work on top of classic Ubuntu 16.04+ or on top of an up-to-date Ubuntu Core > series 16. Nice work :-) > Because the docker.sock path is hardcoded in a lot o

Re: Confined Docker snap available

2016-10-18 Thread Charles Butler
MUCH FANFARE! Awesome news Loïc! I'll be giving this a thorough evaluation on armhf and amd64 machines I have in-house later this weekend from an end user perspective. Thanks for reaching out and letting us know this was ready for trial. All the best, Charles Charles Butler - Juju Charmer Com

Confined Docker snap available

2016-10-18 Thread Loïc Minier
Hi! Docker is since some days available as a properly confined snap. This will work on top of classic Ubuntu 16.04+ or on top of an up-to-date Ubuntu Core series 16. Because the docker.sock path is hardcoded in a lot of images, this snap conflicts with docker debs, so make sure you remove them fi