Windows - Alpine - Docker
#1
Thu, 2015-07-02 18:53
ngg
-
- Offline
- 2 years 8 months ago
- 2015-07-02
Hi all,
I'm a windows guy, please help!
Windows 10 preview/VMware Player 7
Windows 8.1/VirtualBox 5.0 RC2
alpine-3.2.0-x86-64.iso
diskless virtual machine,no USB,no sound,bridged net
boot
root
setup-alpine
- defaults, mirror 1
apk add docker
- Ok
docker --version
- 1.6.2
service docker start
- Ok
docker pull hello-world
- Ok
docker run hello-world
- Ok
docker pull busybox
- level=fatal msg="Error pulling image (latest) from busybox, ApplyLayer exit status 1 stdout: stderr: chmod /bin/busybox: permission denied"
docker pull alpine
- level=fatal msg="Error pulling image (latest) from alpine, ApplyLayer exit status 1 stdout: stderr: chmod /bin/bbsuid: permission denied"
what's wrong?
See: issue #3934
Specific resolution from Dave Sanderson:
Specific fix instructions:
edit /etc/sysctl.conf so that it has the lines
This will make the settings stick past reboot... and for immediate relief, execute
sysctl --system
to reload the settings.Thanks! It's works:
#!/bin/sh
apk add docker
sysctl -w kernel.grsecurity.chroot_deny_chmod=0
sysctl -w kernel.grsecurity.chroot_deny_mknod=0
service docker start
sleep 5
docker --version
docker pull hello-world
docker pull alpine
docker images