Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migrate_to_labels or --migrate-to-labels? #1426

Closed
albers opened this issue May 18, 2015 · 4 comments
Closed

migrate_to_labels or --migrate-to-labels? #1426

albers opened this issue May 18, 2015 · 4 comments
Labels
Milestone

Comments

@albers
Copy link

albers commented May 18, 2015

#1356 introduced some uncertainty about how to convert containers to the new format.

The help message says

migrate_to_labels Recreate containers to add labels

The error message is

If you'd like compose to use this container, please run docker-compose --migrate-to-labels

@albers
Copy link
Author

albers commented May 18, 2015

I was also unsuccessful testing this feature. I could build and successfully run the tests, but executing the command failed:

root@docker2:~/james# docker-compose --version
docker-compose 1.3.0dev
root@docker2:~/james# docker-compose migrate_to_labels
No such command: migrate_to_labels

Commands:
  build              Build or rebuild services
  [...]
  migrate_to_labels  Recreate containers to add labels

I'm new to python development, so this might be due to an error on my side.

@aanand aanand added this to the 1.3.0 milestone May 19, 2015
@gomex
Copy link

gomex commented May 19, 2015

I confirm this bug.

docker-compose migrate_to_labels

No such command: migrate_to_labels

docker-compose --migrate-to-labels

Fast, isolated development environments using Docker.

Usage:
docker-compose [options] [COMMAND] [ARGS...]

@albers
Copy link
Author

albers commented May 19, 2015

@dnephin The migrate_to_labels command is not recognized as such because in https://github.com/docker/compose/blob/master/compose/cli/main.py#L492 the help message is missing.

@albers
Copy link
Author

albers commented May 19, 2015

@dnephin created #1430

@aanand aanand closed this as completed in 41315b3 May 20, 2015
aanand added a commit that referenced this issue May 20, 2015
Fix #1426 - migrate_to_labels not found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants