Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • docker ps - Shows a list of the current running containers
  • docker exec -it <CONTAINER_ID> bash - run bash inside the docker (Also aliased as dlog)
  • docker stop <CONTAINER_ID> - stop the container with the wanted id
  • docker start <CONTAINER_ID> - start the container with the wanted id
  • docker rm <CONTAINER_ID> - removes a stopped container with the wanted id
  • docker images - Shows a list of the current images found on theĀ 
  • docker rmi <IMAGE_ID> - removes the image with the wanted id from the machine
  • cqlsh -u asdc_user -p 'Aa1234%^!' - Run this commands from within the cassandra docker to use cqlsh

...