LoginSignup
9
7

More than 5 years have passed since last update.

ENTRYPOINT が設定された Docker image で bash を起動する方法

Last updated at Posted at 2015-10-04

コンテナが動いていない場合

docker run --rm -it --entrypoint /bin/bash <IMAGE_NAME>

すでにコンテナが動いている場合

docker exec -it <CONTAINER_ID> /bin/bash
9
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
7