Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@tiagof
Copy link
Contributor

@tiagof tiagof commented Dec 22, 2022

Adds support for passing commands after the image name.
Example of such commands are --log.level=INFO --api.insecure=true in the following run:

docker run -p 8080:8080 traefik:v2.3 --log.level=INFO --api.insecure=true

Example of a docker-compose.yml file section of such commands:

services:
  traefik:
    image: "traefik:v2.9"
    [...]
    command:
      - "--api.insecure=true"
      - "--providers.docker=true"
      - "--providers.docker.exposedbydefault=false"
      - "--entrypoints.web.address=:80"
    ports:
        [...]

@freekmurze
Copy link
Member

Thanks, could you add a description and example of this functionality to the readme?

@tiagof
Copy link
Contributor Author

tiagof commented Dec 22, 2022

Sure!
Done.

@freekmurze freekmurze merged commit 8cc2adb into spatie:main Dec 23, 2022
@freekmurze
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants