tricky
configure files
docker desktop
[!TIP|label:references:]
settings-store.json
settings.json(<=v4.34)
~/Library/Group Containers/group.com.docker/settings-store.json
%APPDATA%\Docker\settings-store.json
~/.docker/settings-store.json
.com.apple.containermanagerd.metadata.plist
~/Library/Containers/com.docker.docker/.com.apple.containermanagerd.metadata.plist
-
-
check docker layer
[!NOTE|label:references:]
install
docker with proxy
[!NOTE|label:references:]
for socks5
or via
--build-arg:details
VARIABLEDOCKERFILE EXAMPLEDOCKER RUN EXAMPLEHTTP_PROXY
ENV HTTP_PROXY="http://sample.proxy.com:80"
--env HTTP_PROXY="http://sample.proxy.com:80"
HTTPS_PROXY
ENV HTTPS_PROXY="https://sample.proxy.com:80"
--env HTTPS_PROXY="https://sample.proxy.com:80"
FTP_PROXY
ENV FTP_PROXY="ftp://sample.proxy.com:80"
--env FTP_PROXY="ftp://sample.proxy.com:80"
NO_PROXY
ENV NO_PROXY="*.sample.domain1.com,.domain2.com"
--env NO_PROXY="*.sample.domain1.com,.domain2.com,127.0.0.0/8"
via daemon.json
daemon.json[!TIP]
docker build with GPG key proxy
without proxy
GPG with proxy
docker for osx
[!TIP|label:references:]
docker: command cannot be found
docker: command cannot be found
using user
using system
modify
~/.docker/config.jsonif necessary
command-line auto completion
[!TIP] reference:
Linux
rpm
setup in bashrc
more info
setup in bashrc
_completion_loader
setup in bash
get tags
example: the docker registry in artifactory named
docker
or
get image:tag via jf cli
from docker hub
or
get multiple pages
simple script for get tags
get current container ID
or
or
mount volume in DinD
reference:
run inside windows docker image
add contents
for multiple line contents
get contents
equivalent
tail -fequivalent
tail -10
list item
execute
Last updated
Was this helpful?