Technical notes, my online memory
Tuesday, July 12, 2016
Run a different command on an existing docker container using exec
To run a previously created container with bash, start it as normal and then use exec (this assumes your original container can actually run successfully):
docker start [container id] docker exec -it [container id] /bin/bash
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment