https://bugzilla.redhat.com/show_bug.cgi?id=1096123
Aurelien Marchand <artaxerxes2(a)iname.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |artaxerxes2(a)iname.com
--- Comment #35 from Aurelien Marchand <artaxerxes2(a)iname.com> ---
I confirm the bug exists on Fedora 20, even after doing a yum upgrade so that
docker is at version 1.0, and it very likely comes from SE-Linux.
The way I was able to repeat the issue:
$ getenforce
Enforcing
$ docker -v
Docker version 1.0.0, build 63fe64c/1.0.0
$ docker run -t -i -p 80:80 -p 20022:22 oskarhane/docker-wordpress-nginx-ssh
140620 15:36:13 mysqld_safe Logging to syslog.
140620 15:36:13 mysqld_safe Starting mysqld daemon with databases from
/var/lib/mysql
mysql root password: Iecalood4uoh
wordpress password: eechoo7Uj4bo
ssh password: ahMaisohSh8i
usermod: failure while writing changes to /etc/passwd
^
|--------------------- this is the issue
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 58606 100 58606 0 0 51933 0 0:00:01 0:00:01 --:--:-- 53278
Archive: nginx-helper.1.8.1.zip
[...]
If I change to non-enforcing
# setenforce 0
$ getenforce
Permissive
Then the "docker run" line above works with no issues.
Oddly, on CentOS 6.5, I don't need to change the enforcement policy.
CentOS6.5 $ getenforce
Enforcing
CentOS6.5 $ docker -v
Docker version 1.0.0, build 63fe64c/1.0.0
CentOS6.5 $ docker run -t -i -p 80:80 -p 20022:22
oskarhane/docker-wordpress-nginx-ssh
[no issues]
--
You are receiving this mail because:
You are on the CC list for the bug.