Harbor job fails to be reinitialized due to the below error:
/var/vcap/sys/log/harbor/ctl.stdout.log:
ERROR: for harbor-db Cannot create container for service postgresql: Conflict. The container name "/harbor-db" is already in use by container "bb8689e49a4b1f84744d293781fc06c4288f5b2b05ab9675eb761d65de305fe2". You have to remove (or rename) that container to be able to reuse that name.
ERROR: for postgresql Cannot create container for service postgresql: Conflict. The container name "/harbor-db" is already in use by container "bb8689e49a4b1f84744d293781fc06c4288f5b2b05ab9675eb761d65de305fe2". You have to remove (or rename) that container to be able to reuse that name.
Encountered errors while bringin
Check the running containers on the node:
harbor-app/6c75a99a-93ce-4411-a8bb-1634c17b4bbb:~# docker container ls -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
bb8689e49a4b goharbor/harbor-db:v2.5.3 "/docker-entrypoint.…" 2 days ago Exited (255) 4 hours ago harbor-db
harbor-db container has exited with an error "Exited (255)"