Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The name "/resin_supervisor" is already in use by container <container_hash>. You have to remove (or rename) that container to be able to reuse that name.. #280

Closed
floion opened this issue Sep 6, 2016 · 2 comments
Assignees

Comments

@floion
Copy link
Collaborator

floion commented Sep 6, 2016

docker version
Client:
Version: 1.10.3
API version: 1.22
Go version: go1.6
Git commit: 20f81dd-unsupported
Built: Mon Sep 5 12:25:41 2016
OS/Arch: linux/arm

Server:
Version: 1.10.3
API version: 1.22
Go version: go1.6
Git commit: 20f81dd-unsupported
Built: Mon Sep 5 12:25:41 2016
OS/Arch: linux/arm

And the actual error is:

Sep 04 16:23:16 ts-imx6 systemd[1]: resin-supervisor.service: Main process exited, code=exited, status=125/n/a
Sep 04 16:23:17 ts-imx6 docker[11899]: Failed to stop container (resin_supervisor): Error response from daemon: No such container: resin_supervisor
Sep 04 16:23:18 ts-imx6 docker[11907]: Failed to remove container (resin_supervisor): Error response from daemon: No such container: resin_supervisor
Sep 04 16:23:18 ts-imx6 systemd[1]: resin-supervisor.service: Unit entered failed state.
Sep 04 16:23:18 ts-imx6 systemd[1]: resin-supervisor.service: Failed with result 'exit-code'.
Sep 04 16:23:28 ts-imx6 systemd[1]: resin-supervisor.service: Service hold-off time over, scheduling restart.
Sep 04 16:23:28 ts-imx6 systemd[1]: Stopped Resin supervisor.
Sep 04 16:23:28 ts-imx6 systemd[1]: Starting Resin supervisor...
Sep 04 16:23:29 ts-imx6 docker[11924]: Failed to stop container (resin_supervisor): Error response from daemon: No such container: resin_supervisor
Sep 04 16:23:30 ts-imx6 docker[11951]: Failed to remove container (resin_supervisor): Error response from daemon: No such container: resin_supervisor
Sep 04 16:23:30 ts-imx6 systemd[1]: Started Resin supervisor.
Sep 04 16:23:31 ts-imx6 bash[11959]: docker: Error response from daemon: Conflict. The name "/resin_supervisor" is already in use by container 45e7b1d1b444bb0719bb3d2fb08d4d0dba85d54981dd42184fdf08f742192c16. You have to remove (or rename) that container to be able to reuse that name..
Sep 04 16:23:31 ts-imx6 bash[11959]: See '/usr/bin/docker run --help'.

Front logo Front conversations

@floion
Copy link
Collaborator Author

floion commented Sep 6, 2016

Issue present also here: moby/moby#23371

petrosagg added a commit that referenced this issue Nov 2, 2016
Connected to #280
Connected to resin-io/hq#401

Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
@ghost ghost assigned petrosagg Nov 2, 2016
@ghost ghost added the flow/in-progress label Nov 2, 2016
petrosagg added a commit that referenced this issue Nov 2, 2016
Connected to #280
Connected to resin-io/hq#401

Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
agherzan pushed a commit that referenced this issue Nov 4, 2016
Connected to #280
Connected to resin-io/hq#401

Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
petrosagg added a commit that referenced this issue Nov 14, 2016
Connected to #280
Connected to resin-io/hq#401

Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
agherzan pushed a commit that referenced this issue Nov 14, 2016
Connected to #280
Connected to resin-io/hq#401

Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
@agherzan
Copy link
Contributor

This was mitigated by not removing the container with every start.

@ghost ghost removed the flow/in-progress label Jul 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants