mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-10-30 13:16:47 +00:00
The metadata package has binds - /dev - /var - /sys - /etc/resolv.conf - /etc/ssl/certs but unfortunately `/etc/ssl/certs` doesn't exist and this causes the following commands: cd blueprints/docker-for-mac # easy example moby build -name docker-for-mac base.yml docker-17.06-ce.yml linuxkit run hyperkit -networking=vpnkit -vsock-ports=2376 -disk size=500M docker-for-mac to produce the following error on the VM console: container_linux.go:265: starting container process caused "process_linux.go:348: container init caused \"rootfs_linux.go:57: mounting \\\"/etc/ssl/certs\\\" to rootfs \\\"/containers/onboot/000-metadata/rootfs\\\" at \\\"/etc/ssl/certs\\\" caused \\\"stat /etc/ssl/certs: no such file or directory\\\"\"" 2017/08/21 16:39:40 Error creating 000-metadata: exit status 1 This patch creates /etc/ssl/certs in the `init` package. The metadata package will now say things like 2017/08/21 16:44:39 No metadata/userdata found. Bye Signed-off-by: David Scott <dave.scott@docker.com>