cirros docker container getting to error state
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
CirrOS |
New
|
Undecided
|
Unassigned |
Bug Description
i downlaoded latest cirros image and trying to run container facing following issue. also i tried with ubuntu image its running fine. so i think there is a problem with cirros image.
-----
#docker --version
Docker version 17.06.0-ce, build 02c1d87
root@dharma:~# docker pull cirros
Using default tag: latest
latest: Pulling from library/cirros
a3ed95caeb02: Pull complete
8c4568d40636: Pull complete
e6cc72aea3e6: Pull complete
b5a1edf1e076: Pull complete
Digest: sha256:
Status: Downloaded newer image for cirros:latest
root@dharma:~# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
scratch latest a41f5f7bca0c 46 hours ago 0B
kuryr/busybox latest 61627aa6a64c 2 weeks ago 1.21MB
ubuntu 16.04 14f60031763d 2 weeks ago 120MB
cirros latest f8ce316a37a7 19 months ago 7.74MB
kubernetes/pause latest f9d5de079539 3 years ago 240kB
root@dharma:~# docker run -it --name "cool12345" cirros
info: /etc/init.
mount: permission denied (are you root?)
FAIL: failed mount /dev
info: container: none
mount: permission denied (are you root?)
hostname: sethostname: Operation not permitted
Starting logging: OK
Initializing random number generator... done.
Starting acpid: OK
cirros-ds 'local' up at 1802692.11
no results found for mode=local. up 1802692.14. searched: nocloud configdrive ec2
cirros-ds 'net' up at 1802692.15
checking http://
failed 1/20: up 1802692.17. request failed
failed 2/20: up 1802704.19. request failed
failed 3/20: up 1802716.22. request failed
failed 4/20: up 1802728.24. request failed
failed 5/20: up 1802740.27. request failed
failed 6/20: up 1802752.29. request failed
failed 7/20: up 1802764.32. request failed
failed 8/20: up 1802776.35. request failed
failed 9/20: up 1802788.39. request failed
failed 10/20: up 1802800.43. request failed
failed 11/20: up 1802812.46. request failed
failed 12/20: up 1802824.48. request failed
failed 13/20: up 1802836.51. request failed
failed 14/20: up 1802848.54. request failed
failed 15/20: up 1802860.57. request failed
failed 16/20: up 1802872.60. request failed
failed 17/20: up 1802884.63. request failed
failed 18/20: up 1802896.66. request failed
failed 19/20: up 1802908.69. request failed
failed 20/20: up 1802920.72. request failed
failed to read iid from metadata. tried 20
no results found for mode=net. up 1802932.76. searched: nocloud configdrive ec2
failed to get instance-id of datasource
Starting dropbear sshd: generating rsa key... generating dsa key... OK
=== system information ===
Platform: Container: none
Arch: x86_64
CPU(s): 2 @ 2399.316 MHz
Cores/Sockets/
Virt-type: VT-x
RAM Size: 7887MB
Disks:
NAME MAJ:MIN SIZE LABEL MOUNTPOINT
sda 8:0 42949672960
sda1 8:1 34460401664 /etc/resol
sda2 8:2 1024
sda5 8:5 8486125568 [SWAP]
sr0 11:0 1073741312
loop0 7:0 10747904000
loop1 7:1 10747904000
stack--
=== sshd host keys ===
-----BEGIN SSH HOST KEY KEYS-----
ssh-rsa AAAAB3NzaC1yc2E
ssh-dss AAAAB3NzaC1kc3M
-----END SSH HOST KEY KEYS-----
=== network info ===
if-info: lo,up,127.0.0.1,8,
if-info: eth0@if469,
ip-route:default via 172.17.0.1 dev eth0
ip-route:
=== datasource: None None ===
=== cirros: current=0.3.4 uptime=1802933.12 ===
____ ____ ____
/ __/ __ ____ ____ / __ \/ __/
/ /__ / // __// __// /_/ /\ \
\___//_//_/ /_/ \____/___/
http://
--