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

Error reading JSON on Docker 1.12.0-rc2 #29

Closed
rvernica opened this issue Jun 24, 2016 · 2 comments
Closed

Error reading JSON on Docker 1.12.0-rc2 #29

rvernica opened this issue Jun 24, 2016 · 2 comments

Comments

@rvernica
Copy link

This is the error I get:

> docker run --privileged --rm --volume /var/run/docker.sock:/var/run/docker.sock nate/dockviz images -t
Unable to find image 'nate/dockviz:latest' locally
latest: Pulling from nate/dockviz
859806199386: Pull complete 
Digest: sha256:cb94a258654b47229e1945cc4c96ffe2648f04987dac66fbf1591a970dce41e6
Status: Downloaded newer image for nate/dockviz:latest
Error reading JSON: %!(EXTRA *json.SyntaxError=unexpected end of JSON input)

Docker info:

> docker info                                                                                                                                                [1]
Containers: 0
 Running: 0
 Paused: 0
 Stopped: 0
Images: 1
Server Version: 1.12.0-rc2
Storage Driver: devicemapper
 Pool Name: docker-253:0-202156876-pool
 Pool Blocksize: 65.54 kB
 Base Device Size: 10.74 GB
 Backing Filesystem: xfs
 Data file: /dev/loop0
 Metadata file: /dev/loop1
 Data Space Used: 20.25 MB
 Data Space Total: 107.4 GB
 Data Space Available: 52.14 GB
 Metadata Space Used: 593.9 kB
 Metadata Space Total: 2.147 GB
 Metadata Space Available: 2.147 GB
 Thin Pool Minimum Free Space: 10.74 GB
 Udev Sync Supported: true
 Deferred Removal Enabled: false
 Deferred Deletion Enabled: false
 Deferred Deleted Device Count: 0
 Data loop file: /var/lib/docker/devicemapper/devicemapper/data
 WARNING: Usage of loopback devices is strongly discouraged for production use. Either use `--storage-opt dm.thinpooldev` or use `--storage-opt dm.no_warn_on_loop_devices=true` to suppress this warning.
 Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
 Library Version: 1.02.107-RHEL7 (2016-06-09)
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: host bridge overlay null
Swarm: inactive
Runtimes: default
Default Runtime: default
Security Options: seccomp
Kernel Version: 3.10.0-327.22.2.el7.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 23.37 GiB
Name: blu-03
ID: CBXH:UD64:UUH7:DK4P:D2AC:Y627:3EGT:OTYB:YQTC:QH5C:TZKV:Q7X7
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
Insecure Registries:
 127.0.0.0/8
@justone
Copy link
Owner

justone commented Jun 24, 2016

Hey @rvernica, the issue is that as of Docker 1.11, when you run the nate/dockviz image, you have to add the -it flag to docker run, like this:

docker run --privileged -it --rm --volume /var/run/docker.sock:/var/run/docker.sock nate/dockviz images -t

@rvernica
Copy link
Author

That was it. Thanks!

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

2 participants