moby: Ubuntu 14.04 apt-get install docker-engine fails

Hello,

I’m attempting to install docker-engine on Ubuntu 14.04. I have followed the official guide (https://docs.docker.com/engine/installation/linux/ubuntulinux/) to a step, however I am getting this error when I attempt sudo apt-get install docker-engine:

simonas@simmo-ws:~$ sudo apt-get install docker-engine Reading package lists… Done Building dependency tree
Reading state information… Done docker-engine is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y Setting up docker-engine (1.11.2-0~trusty) … groupadd: Invalid configuration: SYS_GID_MIN (101), GID_MIN (100), SYS_GID_MAX (99) dpkg: error processing package docker-engine (–configure): subprocess installed post-installation script returned error exit status 4 Errors were encountered while processing: docker-engine E: Sub-process /usr/bin/dpkg returned an error code (1)

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 19 (8 by maintainers)

Most upvoted comments

@thaJeztah So I uncommented the lines in /etc/login.defs

SYS_GID_MIN 100 SYS_GID_MAX 999

And now I can install docker-engine without errors.

I guess that solves my particular issue. Thanks for the pointer.

I just encountered the same error trying to install docker on Ubuntu 16.04.1 LTS following instructions from https://docs.docker.com/engine/installation/linux/ubuntulinux/. Uncommenting those lines fixed it.

SYS_GID_MIN 100 SYS_GID_MAX 999