missing unix commands in slim image #295
Replies: 2 comments 1 reply
-
I have the same problem: dokuwiki 02:55:05.56 |
Beta Was this translation helpful? Give feedback.
-
The same problem here - even the |
Beta Was this translation helpful? Give feedback.
-
i tried out docker-slim on one of our in-house images & obtained the following results:
REPOSITORY TAG IMAGE ID CREATED SIZE
com/xyz/sample/docker.slim latest 5c2d0aca41c7 3 minutes ago 112MB
com/xyz/sample/docker latest d1394f2120aa 12 minutes ago 724MB
which clearly looked impressive.
when i tried to make use of the new image (e.g., start a container that uses it) however, i ran into trouble w/ some basic commands used by an in-house <kickstart.sh> bash script not being found.
$ sudo docker run -it -v /tmp:/tmp --name sample -p 8015:8015 --add-host test1:10.0.1.231 --add-host test4:10.0.1.234 com/xyz/sample/docker.slim -native /bin/bash
=== Creating /xyz/admin/sample.conf ===
/xyz/bin/kickstart.sh: line 40: mkdir: command not found
=== Created /xyz/admin/sample.conf:
/xyz/bin/kickstart.sh: line 43: cat: command not found
=== Executing (native) /bin/bash
this makes me think i must be overlooking something rather obvious. any thoughts?
thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions