Docker Community Forums

Share and learn in the Docker community.

Docker commit "Error response from daemon: No such container"

docker

#1

I don’t know if my question fits here. I’m new to Docker and I got this error when I execute this command

[root@SparkMaster env]# docker commit -m='spark' --author='IEDS' a790e8142381 ieds/spark-base:v6
Error response from daemon: No such container: a790e8142381

I used the instructions in https://docs.docker.com/v17.09/engine/installation/linux/docker-ce/centos/#install-docker-ce-1 on how to install docker in CentOS and proceeded to install weave and setup Hadoop and Spark using the instructions in my book.
I am using CentOS.
Here is my docker version.

[root@SparkMaster env]# docker version
Client:
 Version:           18.09.0
 API version:       1.39
 Go version:        go1.10.4
 Git commit:        4d60db4
 Built:             Wed Nov  7 00:48:22 2018
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          18.09.0
  API version:      1.39 (minimum version 1.12)
  Go version:       go1.10.4
  Git commit:       4d60db4
  Built:            Wed Nov  7 00:19:08 2018
  OS/Arch:          linux/amd64
  Experimental:     false