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

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)
  • For more flags to use with the docker_run.sh script please refer to the following guide: SDC docker_run Script Usage (Deprecated since Guilin)
  • /data/scripts/simulator_docker_run.sh -r 1.1-STAGING-latest - Deploying the local webseal simulator on the vagrant
  • /data/scripts/docker_health.sh - Requests healthcheck from FE & BE (Also aliased as health)
  • Docker logs <CONTAINER_ID> - Command to display the logs of the wanted container
  • Logs can be found in /data/logs directory. BE logs under the BE folder and FE logs under the FE
  • No labels