added python Testskript
This commit is contained in:
11
docker_restapi
Normal file
11
docker_restapi
Normal file
@@ -0,0 +1,11 @@
|
||||
# Docker engine use a REST API
|
||||
curl -s --unix-socket /var/run/docker.sock http://v1.32/info | jq "."
|
||||
curl -s --unix-socket /var/run/docker.sock http://v1.41/info | jq "."
|
||||
docker image save -o nginx.tar nginx:1.19.3
|
||||
tar tf nginx.tar
|
||||
docker image load -i nginx.tar
|
||||
#docker container export ...
|
||||
#docker image import ...
|
||||
|
||||
# docker api Starten.
|
||||
docker container run -v /var/run/docker.sock:/var/run/docker.sock --rm -t docker docker container ls
|
||||
Reference in New Issue
Block a user