mirror of
https://github.com/phusion/baseimage-docker.git
synced 2026-11-20 18:01:18 +00: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:
1 parent
291b9aae02
commit
1f38e2226e
5 files changed
+39
-2
No files matched your search
Executable
+2
@@ -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