Dockerイメージのみを更新するコマンドはどれですか。
/var/discourse# ./launcher -h
Usage: launcher COMMAND CONFIG [--skip-prereqs] [--docker-args STRING]
Commands:
start: Start/initialize a container
stop: Stop a running container
restart: Restart a container
destroy: Stop and remove a container
enter: Open a shell to run commands inside the container
logs: View the Docker logs for a container
bootstrap: Bootstrap a container for the config based on a template
run: Run the given command with the config in the context of the last bootstrapped image
rebuild: Rebuild a container (destroy old, bootstrap, start new)
cleanup: Remove all containers that have stopped for > 24 hours
start-cmd: Generate docker command used to start container
Options:
--skip-prereqs Don't check launcher prerequisites
--docker-args Extra arguments to pass when running docker
--skip-mac-address Don't assign a mac address
--run-image Override the image used for running the container
私のシナリオは以下の通りです:
現在、ビルド時にDockerイメージの更新が必要で、かつサーバーのネットワーク環境が悪い場合、イメージの更新ステップで非常に長くとまってしまうことがあります。Dockerイメージの更新に特化したコマンドがあれば、事前にイメージだけを個別に更新しておき、その後で落ち着いてコードのビルドを行うことができます。例えば:
./launcher pull-docker
手動で動作するバージョンを作成することは可能だと分かっていますが、それでも公式からそのようなコマンドが出てくれると嬉しいです。