4 ms·
In practice, containers do have a shell, since a few things (Dockerfile RUN & CMD in non-exec mode, environment variable substitution, docker exec shell) dont w
by blueflow 9y ago
In practice, containers do have a shell, since a few things (Dockerfile RUN & CMD in non-exec mode, environment variable substitution, docker exec shell) dont work without it.
- webster23 9y agoBut you don't have to have all that, you can have just a single executable in the container, like here for example: https://github.com/containous/traefik-library-image/blob/f24cd6a1a31933c76ab397868b5da84d43f5d2ff/scratch/amd64/Dockerfile https://github.com/containous/traefik-library-image/blob/f24...