Skip to content

Instantly share code, notes, and snippets.

@biske
Last active April 22, 2021 12:10
Show Gist options
  • Save biske/c0ba55227b2fd1402cae359f9edb9345 to your computer and use it in GitHub Desktop.
Save biske/c0ba55227b2fd1402cae359f9edb9345 to your computer and use it in GitHub Desktop.
Enter container with given name
docker exec -it $(docker ps --no-trunc --filter "name=container_name" -q) bash
# where container_name is service name defined in the compose.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment