Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

docker compose multiple command

---
version: "2"
services:
  test:
    image: alpine
    entrypoint: ["/bin/sh","-c"]
    command:
    - |
       echo a
       echo b
       echo c
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #docker #compose #multiple #command
ADD COMMENT
Topic
Name
7+7 =