rwx image pull

Pull an existing RWX task as an OCI image

Usage

rwx image pull  [flags]

Description

The pull command pulls a completed RWX task as a container image to your local Docker daemon. This is useful when you want to use a container image that was built on RWX in your local environment.

Note: If you need to push an image to a registry, use rwx image push instead of pulling and then pushing. Pushing directly from RWX is significantly more performant because the image data is transferred directly from RWX to the registry without going through your local machine.

Examples

Pull a task as an image:

rwx image pull bf3c1467e60eb5601ef2a43b840a0d96

Pull and tag with specific tags:

rwx image pull bf3c1467e60eb5601ef2a43b840a0d96 \
  --tag myapp:latest \
  --tag myapp:v1.2.3

Pull with a custom timeout:

rwx image pull bf3c1467e60eb5601ef2a43b840a0d96 --timeout 20m

Arguments

<task-id>

(required) The ID of the RWX task to pull. This is the task that contains the filesystem you want to pull as a container image.

Options

--tag <tag>

Tag the pulled image with the specified tag. Can be specified multiple times to add multiple tags.

Example:

rwx image pull bf3c1467e60eb5601ef2a43b840a0d96 --tag myapp:latest --tag myapp:dev

--timeout <duration>

Timeout for pulling the image. Default: 10m (10 minutes).

Example:

rwx image pull bf3c1467e60eb5601ef2a43b840a0d96 --timeout 15m