Sha256: 8bb11d8048a79b7c331c164ac80eee283224e37d1ad13ec7edb2345ac3c1baa0

Contents?: true

Size: 926 Bytes

Versions: 21

Compression:

Stored size: 926 Bytes

Contents

## Examples

You can use the `--command` or `-c` option to override the Docker container command.

    ufo task hi-migrate # default command
    ufo task demo-web --command bin/migrate
    ufo task demo-web --command bin/with_env bundle exec rake db:migrate:redo VERSION=xxx
    ufo task demo-web -c uptime
    ufo task demo-web -c pwd

## Skipping Docker and Task Registration

The `--task-only` option is useful. By default, the `ufo task` command will build the docker image and then register a new task definition.  The docker build process usually is the part that takes the most time. You can skip the docker build process after building it at least once.  This is a faster way to run a bunch of commands with the same Docker image. Example:

  ufo task demo-web -c uptime # build at least once
  ufo task demo-web --task-only -c ls # skip docker for speed
  ufo task demo-web --task-only -c pwd # skip docker for speed

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
ufo-4.4.3 lib/ufo/help/task.md
ufo-4.4.2 lib/ufo/help/task.md
ufo-4.4.1 lib/ufo/help/task.md
ufo-4.4.0 lib/ufo/help/task.md
ufo-4.3.1 lib/ufo/help/task.md
ufo-4.3.0 lib/ufo/help/task.md
ufo-4.2.0 lib/ufo/help/task.md
ufo-4.1.10 lib/ufo/help/task.md
ufo-4.1.9 lib/ufo/help/task.md
ufo-4.1.8 lib/ufo/help/task.md
ufo-4.1.7 lib/ufo/help/task.md
ufo-4.1.6 lib/ufo/help/task.md
ufo-4.1.5 lib/ufo/help/task.md
ufo-4.1.4 lib/ufo/help/task.md
ufo-4.1.2 lib/ufo/help/task.md
ufo-4.1.1 lib/ufo/help/task.md
ufo-4.1.0 lib/ufo/help/task.md
ufo-4.0.3 lib/ufo/help/task.md
ufo-4.0.2 lib/ufo/help/task.md
ufo-4.0.1 lib/ufo/help/task.md