Connect to docker container for command line access

  • Language:: Command Line

  • Type:: front-end, back-end, deployment/DevOps

  • Context:: create your own multi-select categories to further describe the purpose of the snippet e.g. is this to do with styling, making API calls, creating utility functions etc.

  • Description – a text-based description of the snippet

  • Snippet

$ docker exec -it <container name> /bin/bash
  • Dependencies:: – link to any other code or packages that are relevant or that you need to use this snippet

📇Additional Metadata