WARNING: Found orphan containers (3fcdba86cf0e_compose_files_mongodb-check_1, refbox, f0e8eb41a688_refbox-frontend) for this project. If you removed or renamed this service in your compose file, you can run this command with the –remove-orphans flag to clean it up.

ryukoku@fedora:~$ rc_start
Starting mongodb
WARNING: Found orphan containers (3fcdba86cf0e_compose_files_mongodb-check_1, refbox, f0e8eb41a688_refbox-frontend) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
Recreating 85cfc9e37f9f_mongodb ... 

ERROR: for 85cfc9e37f9f_mongodb  'ContainerConfig'

ERROR: for mongodb  'ContainerConfig'

RefBox でこのエラーが出たときの対応.

rcll-get-started を使っていて,rc_start を実行したら,起動せずに上記のようなエラーが出た場合.
特に今回は,git のbranch を切り替えたので,docker のContainer がズレてしまった状態になっているっぽい.

cd ~/git/rcll-get-started/
git checkout tviehmann/improvements-from-labcegor2025
source setup.sh

まず,RCLL-Simulator を使う場合は,xrobocup-logistics/rcll-get-startedのwikiのSimulatorを参考にlocal_setup.sh を以下のようにします.

export RC_MAGENTA=Carologistics
export RC_MQTT_BROKER_START=true
export RC_SIMULATOR_START=true
export REFBOX_TAG=tviehmann_confirm-ensure-team-consistency
export SIMULATOR_TAG=twendt_fixes
export SIMULATOR_FRONTEND_TAG=twendt_fixes
export REFBOX_ARGS=" --cfg-mps mps/mqtt_new_mps.yaml --cfg-mongodb mongodb/enable_mongodb.yaml --cfg-comm comm/localhost_comm.yaml --cfg-team team/default_team.yaml --cfg-game game/default_game.yaml --cfg-main main/default_main.yaml"

で,現在のDocker のContainer のファイルを削除

docker rm <tabキー連打で候補が出てくる>

このとき,以下に関連するContainer を削除する.
・compose_files_mongodb-check
・refbox-frontend
・mongodb
・refbox
これで,再度rc_start すれば適したContainer を取ってきてくれるはず.

source setup.sh
rc_start

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

*