Docker is an open source project to pack, ship and run any
application as a lightweight container.
Docker containers are both hardware-agnostic and platform-agnostic.
This means they can run anywhere, from your laptop to the largest
EC2 compute instance and everything in between - and they don't
require you to use a particular language, framework or packaging
system. That makes them great building blocks for deploying and
scaling web apps, databases, and backend services without depending
on a particular stack or provider.
WWW: https://github.com/kvasdopil/docker
Docker requires a bit of setup before usage.
You will need to create a ZFS dataset on /usr/docker
# zfs create -o mountpoint=/usr/docker <zroot>/docker
And lastly enable the docker daemon
# sysrc -f /etc/rc.conf docker_enable="YES"
# service docker start
(WARNING)
Starting the docker service will also add the following PF rule:
nat on ${iface} from 172.17.0.0/16 to any -> (${iface})
Where $iface is the default NIC on the system, or the value
of $docker_nat_iface. This is for network connectivity to docker
containers in this early port. This should not be needed in future
versions of docker.
Convert all Go ports to USES=go
This allows for port testing with lang/go-devel via GO_PORT, setting
up the Go build environment in a single place, and is step one in
simplifying Go ports that often define too complicated do-build
targets themselves.
USES=go gains new arguments 'run' to add lang/go to RUN_DEPENDS and
'no_targets' for ports with composite builds that call 'go' themselves
and do not need the do-build/do-install targets of USES=go.
PR: 238849
Submitted by: dg@syrec.org (also D20745)
Reviewed by: mat, tobik
Exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D20746
Mark BROKEN: fails to build
.gopath/src/github.com/docker/docker/pkg/system/mknod.go:12:22: cannot use dev
(type int) as type uint64 in argument to syscall.Mknod
Reported by: pkg-fallout
Add patch to fix an error:
docker run hello-world
Error response from daemon: json: cannot set embedded pointer to unexported
struct: runconfig.hostConfigWrapper
PR: 227618
MFH: 2019Q1
Sponsored by: Netzkommune GmbH
Reset MAINTAINER on ports maintained by amutu@amutu.com
Based on the new policy of all maintained ports reset
when maintaner is absent for 3 months.
Bug#226400 for science/py-tensorflow is ignored since 2018-03-06 (3+ months).
portscout database indicates that 48.94% of his ports aren't updated.
sysutils/docker-freebsd: add docker_flags to the rc script
Add a docker_flags variable to the rc script that can be used to pass
freeform options to the docker command. I use it for the "-H" option.
PR: 219795
Approved by: amutu@amutu.com (maintainer)
Approved by: brd (ports)