Please enable JavaScript.
Coggle requires JavaScript to display documents.
Docker Compose - Coggle Diagram
Docker Compose
References
services
build
context
dockerfile
args
cache_from
labels
network
shm_size
target
cap_add, cap_drop
cgroup_parent
command
configs
container_name
credential_spec
depends_on
deploy
endpoint_mode
labels
mode
placement
max_replica_per_node
replicas
resources
restart_policy
rollback_config
devices
dns
dns_search
entrypoint
env_file
environment
expose
external_links
extra_hosts (like using hosts file)
healthcheck
test
interval
timeout
retries
image
init
isolation
labels
links (deprecated)
logging
driver
options
syslog-address
max-size
max-file
network_mode
networks
aliases
ipv4_address, ipv6_address
pid
ports
profiles
restart
secrets (like "configs", but with encryption)
security_opt (duno)
stop_grace_period (wait X time before force kill container)
stop_signal (default is SIGTERM)
sysctls (duno)
tmpfs (tmp file system)
ulimits (dunno)
userns_mode (duno)
volumes
From "docker run"
domain_name :
hostname
ipc
mac_address
read_only
shm_only
shm_size
stdin_open
tty
user
working_dir
volumes
driver
driver_opts
type
o
device
external
name
networks
driver
bridge
overlay
host or none
driver_opts (<key>: <value>)
attachable
enable_ipv6 (deprecate)
ipam
internal
labels
external
name
Variable substitution
$VARIABLE
${VARIABLE}
${VARIABLE:-default} (default if variable is unset or empty)
${VARIABLE-default} (default if variable is unset)
${VARIABLE:?err} (err if variable is unset or emtpy)
${VARIABLE?err} (err if variable is unset)
$$ - get the VARIABLE name not the value of it