Skip to content

Comments

Fix: receiving unknown flag --api, switched to --web flag to end web …#3170

Closed
justinlarose wants to merge 1 commit intotraefik:masterfrom
justinlarose:master
Closed

Fix: receiving unknown flag --api, switched to --web flag to end web …#3170
justinlarose wants to merge 1 commit intotraefik:masterfrom
justinlarose:master

Conversation

@justinlarose
Copy link

@justinlarose justinlarose commented Apr 10, 2018

…backend

What does this PR do?

Fixes the example for quickstart. When running docker-compose received this error:

Error parsing command: unknown flag: --api
Error here : unknown flag: --api

Changed to --web flag instead

Motivation

More

  • Added/updated tests
  • Added/updated documentation

Additional Notes

@ldez
Copy link
Contributor

ldez commented Apr 10, 2018

Thanks for your interest in Traefik 😃

I think you are using an old version of Traefik (<1.4).

--web is deprecated sine 1.4 when --api has been added.

Try to pull a new version: docker pull traefik:1.5

@ldez ldez closed this Apr 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants