Bug 231243 - sysutils/docker-freebsd: Couldn't mount volume from host to container
Summary: sysutils/docker-freebsd: Couldn't mount volume from host to container
Status: Closed Feedback Timeout
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Jochen Neumeister
Keywords: needs-qa
Depends on:
Reported: 2018-09-08 16:28 UTC by Sudharsan
Modified: 2020-01-11 11:13 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Sudharsan 2018-09-08 16:28:24 UTC
# Host system files in /tmp directory

root@u32-rel-bld20:/usr/ports/sysutils/docker-freebsd # ls /tmp/
.ICE-unix		.XIM-unix		go-build282742742	go-build391252752	go-build675142412	ou1			phoebe-docker1.tgz	tmp
.X11-unix		.font-unix		go-build335074337	go-build649367855	go-build797393811	out			test

#Trying to mount /tmp volume from host inside container /tmp folder

root@u32-rel-bld20:/usr/ports/sysutils/docker-freebsd # docker run -ti --cap-add SYS_RAWIO -v /tmp:/tmp -v /dev/mem:/dev/mem --privileged phoebe:11.8.6-070 /bin/sh

#Couldnt find the content of host /tmp directory content
# ls /tmp/
.s.PGSQL.5432.lock	hsperfdata_root		raid_status		raid_type

root@u32-rel-bld20:/usr/ports/sysutils/docker-freebsd # docker info
Containers: 8
Images: 9
Storage Driver: zfs
 Zpool: error while getting pool information exit status 1: "/sbin/zpool zpool get all -p zroot" => cannot open '-p': name must begin with a letter

 Zpool Health: not available
 Parent Dataset: zroot/docker
 Space Used By Parent: 7485149184
 Space Available: 254890577920
 Parent Quota: no
 Compression: lz4
Execution Driver: jail
Logging Driver: json-file
Kernel Version: <unknown>
Operating System: <unknown> (error determining if containerized)
CPUs: 1
Total Memory: 0 B
Name: u32-rel-bld20.cisco.com
Debug mode (server): true
File Descriptors: -1
Goroutines: 26
System Time: 2018-09-08T21:57:30.059896556+05:30
EventsListeners: 0
Init SHA1: 
Init Path: /usr/local/bin/docker
Docker Root Dir: /usr/docker
WARNING: No memory limit support
WARNING: No swap limit support
root@u32-rel-bld20:/usr/ports/sysutils/docker-freebsd # docker version
Client version: 1.7.0-dev
Client API version: 1.19
Go version (client): go1.10.3
Git commit (client): 582db78
OS/Arch (client): freebsd/amd64
Server version: 1.7.0-dev
Server API version: 1.19
Go version (server): go1.10.3
Git commit (server): 582db78
OS/Arch (server): freebsd/amd64
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2019-01-07 10:51:49 UTC
Assign to new recent maintainer, see: ports r489312
Comment 2 Walter Schwarzenfeld freebsd_triage 2019-08-05 22:50:23 UTC
EXPIRATION_DATE=        2019-09-04.
Comment 3 Rene Ladan freebsd_committer 2020-01-11 11:13:38 UTC
Closing PR, port is expired but not removed yet and no submitter feedback since 2018.