Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 482 Bytes

debug.md

File metadata and controls

34 lines (23 loc) · 482 Bytes

Overview

  1. TODO

Debug an Alpine based container

readonly IMAGE=golang:1.18-alpine

docker run --rm -it $IMAGE /bin/ash;

Debug a Debian based container

readonly IMAGE=golang:1.18-bullseye

docker run --rm -it $IMAGE /bin/bash;

Debugging specific images

docker run -it --rm nginx:1.17 bash;
docker run -it --rm postgres:12.1-alpine bash;

Inspect a container

docker inspect wc-nginx-container;

Other Resources

  1. TODO