After upgrading to docky 5.0.1, docky run no longer works.
$ docky run
Verbose mode activated
Start in verbose mode. You can change the default value in ~/.docky/config.yml
docker-compose -f dev.docker-compose.yml --project-name odoo_project rm -f
No stopped containers
The service odoo is accessible on http://odoo_project.dy
docker-compose-f dev.docker-compose.yml --project-name odoo_project run --rm --service-ports --use-aliases odoo bash
Run a one-off command on a service.
For example:
$ docker-compose run web python manage.py shell
By default, linked services will be started, unless they are already
running. If you do not want to start linked services, use
`docker-compose run --no-deps SERVICE COMMAND [ARGS...]`.
Usage:
run [options] [-v VOLUME...] [-p PORT...] [-e KEY=VAL...] [-l KEY=VALUE...]
SERVICE [COMMAND] [ARGS...]
Options:
-d Detached mode: Run container in the background, print
new container name.
--name NAME Assign a name to the container
--entrypoint CMD Override the entrypoint of the image.
-e KEY=VAL Set an environment variable (can be used multiple times)
-l, --label KEY=VAL Add or override a label (can be used multiple times)
-u, --user="" Run as specified username or uid
--no-deps Don't start linked services.
--rm Remove container after run. Ignored in detached mode.
-p, --publish=[] Publish a container's port(s) to the host
--service-ports Run command with the service's ports enabled and mapped
to the host.
-v, --volume=[] Bind mount a volume (default [])
-T Disable pseudo-tty allocation. By default `docker-compose run`
allocates a TTY.
-w, --workdir="" Working directory inside the container
This messages indicate that an unexpected argument was given to docker-compose.
Check docker-compose version :
$ docker-compose -v
docker-compose version 1.18.0, build 8dd22a9
After upgrading to docky 5.0.1, docky run no longer works.
This messages indicate that an unexpected argument was given to docker-compose.
Check docker-compose version :
Let's see if there is another docker-compose:
Removing or updating the first one fixes the issue.