Skip to content
David Liu edited this page Nov 27, 2023 · 15 revisions

About Docker

  • after docker login: WARNING! Your password will be stored unencrypted in /home/${USER}/.docker/config.json.
  • get container log file location: ./bash/docker.sh logPath <containerName>
  • docker logs <container> --follow --tail=<# of ending lines to display>
  • find the host-machine ip mapped inside a docker container
    • docker run <image-name> --add-host=host.docker.internal:host-gateway
Clone this wiki locally