Comments (10)
I do not get any errors running this. What is your docker version
, docker -D info
and uname -a
?
from official-images.
# docker version
Client version: 1.0.0
Client API version: 1.12
Go version (client): go1.2.2
Git commit (client): 63fe64c/1.0.0
Server version: 1.0.0
Server API version: 1.12
Go version (server): go1.2.2
Git commit (server): 63fe64c/1.0.0
# docker -D info
Containers: 15
Images: 362
Storage Driver: devicemapper
Pool Name: docker-253:1-202217530-pool
Data file: /var/lib/docker/devicemapper/devicemapper/data
Metadata file: /var/lib/docker/devicemapper/devicemapper/metadata
Data Space Used: 17197.2 Mb
Data Space Total: 102400.0 Mb
Metadata Space Used: 21.3 Mb
Metadata Space Total: 2048.0 Mb
Execution Driver: native-0.2
Kernel Version: 3.10.0-123.4.4.el7.x86_64
Debug mode (server): false
Debug mode (client): true
Fds: 62
Goroutines: 82
EventsListeners: 0
Init SHA1: 4d35b599430acebe2c845a4f209febec451d9604
Init Path: /usr/libexec/docker/dockerinit
# uname -a
Linux server.srv 3.10.0-123.4.4.el7.x86_64 #1 SMP Fri Jul 25 05:07:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
# cat /etc/centos-release
CentOS Linux release 7.0.1406 (Core)
docker-io.x86_64 1.0.0-1.el7 @epel
from official-images.
@elderone Please update to 1.1.2, I'm pretty sure this is fixed.
from official-images.
I have this problem too.
When I try to build image based on this Dockerfile:
FROM ubuntu:12.04
RUN apt-get update
# for install add-apt-repository command
RUN apt-get -y install python-software-properties
RUN add-apt-repository -y ppa:biometrics/bob
RUN apt-get update
RUN apt-get -y install bob
In last step I get this:
groupadd: failure while writing changes to /etc/group
addgroup: `/usr/sbin/groupadd -g 102 utempter' returned error code 10. Exiting.
dpkg: error processing libutempter0 (--configure):
subprocess installed post-installation script returned error exit status 1
My environment:
# docker version
Client version: 1.2.0
Client API version: 1.14
Go version (client): go1.2.2
Git commit (client): fa7b24f/1.2.0
OS/Arch (client): linux/amd64
Server version: 1.2.0
Server API version: 1.14
Go version (server): go1.2.2
Git commit (server): fa7b24f/1.2.0
# docker -D info
Containers: 19
Images: 47
Storage Driver: devicemapper
Pool Name: docker-253:1-135861-pool
Pool Blocksize: 64 Kb
Data file: /var/lib/docker/devicemapper/devicemapper/data
Metadata file: /var/lib/docker/devicemapper/devicemapper/metadata
Data Space Used: 3090.8 Mb
Data Space Total: 102400.0 Mb
Metadata Space Used: 4.8 Mb
Metadata Space Total: 2048.0 Mb
Execution Driver: native-0.2
Kernel Version: 3.15.10-201.fc20.x86_64
Operating System: Fedora 20 (Heisenbug)
Debug mode (server): false
Debug mode (client): true
Fds: 12
Goroutines: 14
EventsListeners: 0
Init SHA1: 4f84c8386a0072bb60fd1258f41f43e377e0b6c9
Init Path: /usr/libexec/docker/dockerinit
# uname -a
Linux localhost.localdomain 3.15.10-201.fc20.x86_64 #1 SMP Wed Aug 27 21:10:06 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
from official-images.
@cpuguy83 any thoughts on why it would be still broken on Docker 1.2.0? Perhaps an issue with devicemapper?
from official-images.
@cpuguy83
I have the same problem from 1.14.
groupadd: failure while writing changes to /etc/group
addgroup: `/usr/sbin/groupadd -g 102 ssh' returned error code 10. Exiting.
dpkg: error processing openssh-client (--configure):
subprocess installed post-installation script returned error exit status 1
#docker version
Client version: 1.2.0
Client API version: 1.14
Go version (client): go1.2.2
Git commit (client): fa7b24f/1.2.0
OS/Arch (client): linux/amd64
Server version: 1.2.0
Server API version: 1.14
Go version (server): go1.2.2
Git commit (server): fa7b24f/1.2.0
from official-images.
FYI, It's broken with a Ubuntu 12.04 image, but not with an Ubuntu 14.04 image. Running the FC20 shipped docker-io-1.2.0-2.fc20.x86_64 here.
from official-images.
The root cause seems to be an inability to write to /etc/passwd or /etc/group on 12.04
This minimal Docker file fail when run from FC20
FROM ubuntu:12.04.5
MAINTAINER e0d
RUN groupadd foo
EXPOSE 22 3000
ENTRYPOINT ["/bin/bash"]
from official-images.
The issue on FC20 is SELinux related, the ham-fisted work around is:
sudo setenforce 0
I'll work out exactly what's going on when I have a free moment.
from official-images.
I am unable to reproduce this and it seems to be related to SELinux. Closing for now.
from official-images.
Related Issues (20)
- High severity vulnerability in `libexpat` packages pulled into Alpine HOT 17
- More RISC-V builds - how can I help? HOT 5
- Add LoongArch architecture support HOT 4
- Error relocating /usr/lib/libcurl.so.4: SSL_get0_group_name: symbol not found
- Rust 1.77.2-slim arm64 Images Missing HOT 2
- Odoo release number in tag HOT 2
- An issue with nginx 1.25.5 manifest. HOT 4
- Using gpu on Orangepi Rk3588 Board HOT 1
- no you HOT 5
- Broken release: SonarQube 9.9.5 tags do not support the arm64 architecture. HOT 3
- Broken Release: MySQL 8.4.0 HOT 1
- Fix CVE-2023-24538 and CVE-2023-24540 HOT 2
- can not find mariadb:10.11.8 images in https://hub.docker.com/_/mariadb HOT 1
- "operation not permitted", a `libseccomp` story HOT 1
- [incident] Alpine 3.20 seccomp issues (arm32v6, arm32v7, i386, riscv64, ppc64le) HOT 12
- Review request for MariaDB UBI based image HOT 1
- influxb image: platform in image-index and image-config do not match HOT 5
- missing arm64v8 layers in MariaDB image HOT 3
- Official Chiselled Ubuntu images support? HOT 4
- Resolve critical and high vulnerabilities in node:lts-bookworm base image HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from official-images.