How do i run a docker container interactively?
-
Run a shell in a alpine linux container.
$ docker run -it alpine /bin/sh Unable to find image 'alpine:latest' locally latest: Pulling from library/alpine cd784148e348: Already exists Digest: sha256:46e71df1e5191ab8b8034c5189e325258ec44ea739bba1e5645cff83c9048ff1 Status: Downloaded newer image for alpine:latest / #
© Lightnetics 2024