mirror of
/repos/baseimage-docker.git
synced 2026-02-27 17:41:59 +01:00
Added a workaround for Docker's inability to modify /etc/hosts in the container.
See Docker bug 2267: https://github.com/dotcloud/docker/issues/2267
This commit is contained in:
2
image/bin/workaround-docker-2267
Executable file
2
image/bin/workaround-docker-2267
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec /usr/bin/perl -pi -e 's:/etc/hosts:/cte/hosts:g' /lib/x86_64-linux-gnu/libnss_files.so.2
|
||||
Reference in New Issue
Block a user