Date: Wed, 21 Oct 2015 04:49:39 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 203911] sysutils/docker-freebsd - Cannot modify existing files when building images Message-ID: <bug-203911-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203911 Bug ID: 203911 Summary: sysutils/docker-freebsd - Cannot modify existing files when building images Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: kmoore@FreeBSD.org Reporter: yonas@fizk.net Flags: maintainer-feedback?(kmoore@FreeBSD.org) Assignee: kmoore@FreeBSD.org I've been trying to customize my resolv.conf using this Dockerfile: FROM lexaguskov/freebsd RUN echo "nameserver 192.168.2.1" > /etc/resolv.conf I'm building it via `docker build -f Dockerfile -t yonas/freebsd .` but `docker run --rm -it yonas/freebsd cat /etc/resolv.conf` shows it's empty. I can add files to the image's filesystem, but not modify existing files from the lexaguskov/freebsd image. I've tested using FreeBSD 10.2 release and FreeBSD 11 current: FreeBSD freebsd-server1 10.2-RELEASE FreeBSD 10.2-RELEASE #0 r286666: Wed Aug 12 15:26:37 UTC 2015 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 FreeBSD fbsd11 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r287930: Thu Sep 17 20:40:12 UTC 2015 root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203911-13>