xct's notes
Search…
Docker

Pull from custom registry

1
sudo nano /etc/docker/daemon.json ->
2
{
3
"insecure-registries" : ["docker.vulndev.io:80"]
4
}
5
6
sudo systemctl restart docker
7
docker login <registry>
8
docker pull <registry>/image
Copied!

Execute commands in docker network namespace

1
/usr/bin/nsenter --mount --target $PID -- <command>
Copied!
Last modified 1yr ago