Run docker ps -a
on browser.
Tested on Linux and Docker for Windows.
-
Make sure you logged into GitHub package registry on your Docker client.
-
docker run -v /var/run/docker.sock:/var/run/docker.sock -p 8080:8080 docker.pkg.github.com/approvers/dockerps-web/image:latest
go run main.go
-
docker build . -t dockerps-web
-
docker run -v /var/run/docker.sock:/var/run/docker.sock -p 8080:8080 dockerps-web