When i run this command: docker save --output python27.tar python:2.7-slim
I got error: Error response from daemon: reference does not exist
I am running Linux container on Windows 10 pro
docker info
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 4
Server Version: 18.06.1-ce
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: 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: 468a545b9edcd5932818eb9de8e72413e616e86e
runc version: 69663f0bd4b60df09991c08812a60108003fa340
init version: fec3683
Security Options:
seccomp
Profile: default
Kernel Version: 4.9.93-linuxkit-aufs
Operating System: Docker for Windows
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.934GiB
Name: linuxkit-00155d380101
ID: 3OQ4:XVZV:6YMP:CGQV:YDLX:RZIM:MLME:OKYS:RK4D:HKHZ:JQZH:F3HP
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
File Descriptors: 22
Goroutines: 47
System Time: 2018-09-27T16:07:02.6948736Z
EventsListeners: 1
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
Do you have the image locally
$ docker save --output python27.tar python:2.7-slim
Error response from daemon: reference does not exist
$ docker pull python:2.7-slim
2.7-slim: Pulling from library/python
802b00ed6f79: Already exists
10b2d5f7ed73: Pull complete
1073a127cf89: Pull complete
90283f3dc1cd: Pull complete
Digest: sha256:0a43a6d7858af4a42427c792b682936d2cd34e183fb026627f53ddb556d4bf62
Status: Downloaded newer image for python:2.7-slim
$ docker save --output python27.tar python:2.7-slim
$ ls
python27.tar
Do you have the image locally
$ docker save --output python27.tar python:2.7-slim Error response from daemon: reference does not exist $ docker pull python:2.7-slim 2.7-slim: Pulling from library/python 802b00ed6f79: Already exists 10b2d5f7ed73: Pull complete 1073a127cf89: Pull complete 90283f3dc1cd: Pull complete Digest: sha256:0a43a6d7858af4a42427c792b682936d2cd34e183fb026627f53ddb556d4bf62 Status: Downloaded newer image for python:2.7-slim $ docker save --output python27.tar python:2.7-slim $ ls python27.tar
You are awesome! I am new to Docker, thanks
Cool, closing issue then.
If you have further questions you should ask the Docker Community Forums, the Docker Community Slack, or Stack Overflow. As these repositories are for issues with the image and not necessarily for questions of usability
Most helpful comment
Do you have the image locally