You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »


Docker Commands

  • 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 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

Vagrant Commands

  •  /data/scripts/docker_run.sh -r 1.1-STAGING-latest - Downloads and deploys the latest dockers from the nexus to the environment (Also aliased as drun)
  •  /data/scripts/docker_run.sh -r 1.1-STAGING-latest -l - Deploy dockers from the local images found on the vagrant (Also aliased as drun)
  • /data/scripts/docker_health.sh - Requests healthcheck from FE & BE (Also aliased as health)
  • Logs can be found in /data/logs directory. BE logs under the BE folder and FE logs under the FE
  • Docker logs <CONTAINER_ID> - Command to display the logs of the wanted container
  • No labels