📜  --privileged -v in docker compose - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:29.204000             🧑  作者: Mango

代码示例1
web:
  image: an_image-image:1.0
  container_name: my-container
  privileged: true
  entrypoint: ["/usr/sbin/init"]
  ports:
    - "8280:8280"