acedanger

acedanger / docker debugging statements

Last active 22 hours ago

Like 0

Revision b1b560ff7744cebdbb6d516f56e0d6f281f4110d

docker debugging Raw
1
2sudo systemctl enable --now docker
3docker compose -f /home/acedanger/docker/pangolin/docker-compose.yml up -d pangolin gerbil
4
5# Fastest fix: strip restart policies before testing
6
7systemctl start docker
8docker ps -a # see what just came up
9docker stop $(docker ps -q) # stop everything immediately
10docker update --restart=no $(docker ps -aq) # clear the restart policy on all containers
11
12# run a curl image connected to the pangolin network and attempt to connect using the same host:port nomenclature as the resource settings in pangolin
13docker run --rm --network pangolin curlimages/curl -Iv http://blog:1313
14