Docker Community Forums

Share and learn in the Docker community.

Add bind-tools not working with docker for mac but traditional VM based docker


(Rajrajen) #1

Expected behavior

docker run -it --rm alpine /bin/sh
Unable to find image ‘alpine:latest’ locally
latest: Pulling from library/alpine
Digest: sha256:3dcdb92d7432d56604d4545cbd324b14e647b313626d99b889d0626de158f73a
Status: Downloaded newer image for alpine:latest
/ #apk --no-cache add bind-tools curl
fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/community/x86_64/APKINDEX.tar.gz
(1/8) Installing libcap (2.25-r0)
(2/8) Installing libgcc (5.3.0-r0)
(3/8) Installing bind-libs (9.10.4_p1-r0)
(4/8) Installing bind-tools (9.10.4_p1-r0)
(5/8) Installing ca-certificates (20160104-r4)
(6/8) Installing libssh2 (1.7.0-r0)
(7/8) Installing libcurl (7.49.1-r0)
(8/8) Installing curl (7.49.1-r0)
Executing busybox-1.24.2-r9.trigger
Executing ca-certificates-20160104-r4.trigger
OK: 9 MiB in 19 packages

Actual behavior

docker run -it --rm alpine /bin/sh
Unable to find image ‘alpine:latest’ locally
latest: Pulling from library/alpine
Digest: sha256:3dcdb92d7432d56604d4545cbd324b14e647b313626d99b889d0626de158f73a
Status: Downloaded newer image for alpine:latest
/ #apk --no-cache add bind-tools curl
ERROR: unsatisfiable constraints:
bind-tools (missing):
required by: world[bind-tools]
curl (missing):
required by: world[curl]
The command ‘/bin/sh -c apk --no-cache add bind-tools curl’ returned a non-zero code: 2

Information

Mac OS X El Capitan 10.11.5 (15F34)

Docker for Mac beta - 1.12.0-rc2-beta17

Steps to reproduce the behavior

  1. … docker run -it --rm alpine /bin/sh
  2. … then in the command prompt apk --no-cache add bind-tools curl

(Rajrajen) #2

How will this forum work? Will this be assigned like a ticketing solution?