🎨
Docker
Ctrlk
  • Docker入门
  • Docker overview
  • 容器监控方式
  • Dockerfile指令
  • docker-compose.yaml文件中常用指令
    • compose文件结构和示例
    • 服务配置参考
      • build
      • cap_add, cap_drop
      • cgroup_parent
      • command
      • configs
      • container_name
      • credential_spec
      • depends_on
      • deploy
      • devices
      • dns
      • dns_search
      • entrypoint
      • env_file
      • environment
      • expose
      • external_links
      • extra_hosts
      • healthcheck
      • image
      • init
      • isolation
      • labels
      • links
      • logging
      • network_mode
      • networks
      • pid
      • ports
      • profiles
      • restart
      • secrets
      • security_opt
      • stop_grace_period
      • stop_signal
      • sysctls
      • tmpfs
      • ulimits
      • userns_mode
      • volumes
        • 长语法
        • 短语法
        • VOLUMES FOR SERVICES, SWARMS, AND STACK FILES
      • domainname, hostname, ipc, mac_address, privileged, read_only, shm_size, stdin_open, tty, user, work
      • Specifying durations
      • Specifying byte values
      • Volume configuration reference
      • Network configuration reference
      • configs configuration reference
      • secrets configuration reference
      • Variable substitution
      • Extension fields
  • docker-compose示例
  • Dockerfile最佳实践
Powered by GitBook
On this page

Was this helpful?

  1. docker-compose.yaml文件中常用指令
  2. 服务配置参考

volumes

长语法短语法VOLUMES FOR SERVICES, SWARMS, AND STACK FILES
Previoususerns_modeNext长语法

Last updated 4 years ago

Was this helpful?