[Bug 203911] sysutils/docker-freebsd - Cannot modify existing files when building images
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Oct 21 04:49:40 UTC 2015
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 at FreeBSD.org
Reporter: yonas at fizk.net
Flags: maintainer-feedback?(kmoore at FreeBSD.org)
Assignee: kmoore at 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 at 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 at releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC
amd64
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list