tutor images

Manage docker images

tutor images [OPTIONS] COMMAND [ARGS]...

build

Build docker images

Build the docker images necessary for an Open edX platform. By default, the remote registry cache will be used for better performance.

tutor images build [OPTIONS] image

Options

--no-cache

Do not use cache when building the image

--no-registry-cache

Do not use registry cache when building the image

--cache-to-registry

Push the build cache to the remote registry. You should only enable this option if you have push rights to the remote registry.

--output <docker_output>

Same as docker build –output=….

-a, --build-arg <build_args>

Set build-time docker ARGS in the form ‘myarg=value’. This option may be specified multiple times.

--add-host <add_hosts>

Set a custom host-to-IP mapping (host:ip).

--target <target>

Set the target build stage to build.

-d, --docker-arg <docker_args>

Set extra options for docker build command.

Arguments

image

Optional argument(s)

printtag

Print tag associated to a Docker image

tutor images printtag [OPTIONS] image

Arguments

image

Optional argument(s)

pull

Pull images from the Docker registry

tutor images pull [OPTIONS] image

Arguments

image

Optional argument(s)

push

Push images to the Docker registry

tutor images push [OPTIONS] image

Arguments

image

Optional argument(s)