Friday 30 September 2022

Docker & Kubernetes cheat sheet

Attach to a running container

docker exec -i -t <container> /bin/bash

Test network connectivity

apt update
apt install net-tools
apt install curl
curl -kv

Read logs on failed startup


Networking tools

docker run --rm -it praqma/network-multitool bash

No comments:

Post a Comment