Skip to content

docker start <container_name> returns "container <hash> already exists" #36145

@mbonaci

Description

@mbonaci

Description
docker start returns Error response from daemon: container <hash>: already exists
This happened after I installed the latest upgrade.
The only other change I did was to remove check from "Enable kubernetes" and apply that change (from docker preferences window).

Describe the results you received:

dps -a
IMAGE                                                 NAMES                PORTS                                            COMMAND                  STATUS
jetty                                                 infallible_hodgkin                                                    "/docker-entrypoint.…"   Exited (0) 2 weeks ago
jetty                                                 gallant_perlman                                                       "/docker-entrypoint.…"   Exited (1) 2 weeks ago
docker.elastic.co/elasticsearch/elasticsearch:5.6.3   st-es                0.0.0.0:9200->9200/tcp, 0.0.0.0:9300->9300/tcp   "/bin/bash bin/es-do…"   Exited (255) 18 minutes ago
appbaseio/mirage                                      mystifying_meitner   0.0.0.0:3030->3030/tcp                           "http-server '-p 303…"   Exited (255) 2 months ago
appbaseio/dejavu                                      heuristic_jones      0.0.0.0:1358->1358/tcp                           "http-server '-p 135…"   Exited (255) 2 months ago
mongo                                                 mongo                0.0.0.0:27017->27017/tcp                         "docker-entrypoint.s…"   Exited (255) 5 weeks ago
zookeeper                                             st-zk                2888/tcp, 0.0.0.0:2181->2181/tcp, 3888/tcp       "/docker-entrypoint.…"   Exited (255) 18 minutes ago
mysql:5.5                                             st-mysql             0.0.0.0:3306->3306/tcp                           "docker-entrypoint.s…"   Exited (255) 18 minutes ago
% 
% 
% docker start st-mysql
Error response from daemon: container "fa0db3388ad6eb043d8632039c152f58afb68dbb6a2c5a3a7721420a56518477": already exists
Error: failed to start containers: st-mysql

Output of docker version:

Client:
 Version:	18.02.0-ce-rc1
 API version:	1.35
 Go version:	go1.9.2
 Git commit:	5e1d90a
 Built:	Thu Jan 25 00:33:50 2018
 OS/Arch:	darwin/amd64
 Experimental:	true
 Orchestrator:	swarm

Server:
 Engine:
  Version:	18.02.0-ce-rc1
  API version:	1.36 (minimum version 1.12)
  Go version:	go1.9.3
  Git commit:	5e1d90a
  Built:	Thu Jan 25 00:40:43 2018
  OS/Arch:	linux/amd64
  Experimental:	false

Output of docker info:

Containers: 8
 Running: 1
 Paused: 0
 Stopped: 7
Images: 32
Server Version: 18.02.0-ce-rc1
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 157
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 9b55aab90508bd389d7654c4baf173a981477d55
runc version: 9f9c96235cc97674e935002fc3d78361b696a69e
init version: 949e6fa
Security Options:
 seccomp
  Profile: default
Kernel Version: 4.9.75-linuxkit-aufs
Operating System: Docker for Mac
OSType: linux
Architecture: x86_64
CPUs: 3
Total Memory: 1.952GiB
Name: linuxkit-025000000001
ID: TLZO:G2VR:E4RK:4L5T:7QZ3:56R3:WSBW:Z7XW:LQMW:AXRE:5QZU:Z3HA
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: 28
 Goroutines: 45
 System Time: 2018-01-30T14:51:16.971310166Z
 EventsListeners: 2
HTTP Proxy: docker.for.mac.http.internal:3128
HTTPS Proxy: docker.for.mac.http.internal:3128
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/runtimeRuntimekind/bugBugs are bugs. The cause may or may not be known at triage time so debugging may be needed.platform/desktopstatus/needs-attentionCalls for a collective discussion during a review session

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions