Not able to pull Ubuntu image

Hi folks,

I am new to docker and i am trying to pull ubuntu image and its giving me image already exists but i cannot find it in the all process

when i do docker ps -a i do not see the ubuntu image as below:

[root@localhost /]# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
118236d7ea12 hello-world “/hello” 12 minutes ago hungry_lovelace

Pull command

[root@localhost /]# docker pull ubuntu
latest: Pulling from ubuntu
f15ce52fc004: Already exists
c4fae638e7ce: Already exists
a4c5be5b6e59: Already exists
8693db7e8a00: Already exists
Digest: sha256:457b05828bdb5dcc044d93d042863fba3f2158ae249a6db5ae3934307c757c54
Status: Image is up to date for ubuntu:latest

Is their something simple i am missing if its already present how to start it

Thanks in advance

Regards
Ankur pandita

did you try docker images command ? it lists all the images available in your machine. To run the image just use docker run -it ubuntu /bin/bash.

yes its there as shown below

[root@localhost /]# docker images
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
debian latest 5eb1402f0414 2 weeks ago 125.1 MB
ubuntu latest 8693db7e8a00 3 weeks ago 187.9 MB
hello-world latest 975b84d108f1 3 months ago 960 B

So when i try to run it gives below error

[root@localhost /]# docker run -t -i debian /bin/bash
Error response from daemon: Cannot start container ea7428e5832b4be98b2819b2ff7fec3d2d4eb0a5702e10d5af2824b0ee3d36e6: no such file or directory

version information is below:

[root@localhost /]# docker info
Containers: 4
Images: 8
Storage Driver: devicemapper
Pool Name: docker-253:0-1575720-pool
Pool Blocksize: 65.54 kB
Backing Filesystem: extfs
Data file: /dev/loop0
Metadata file: /dev/loop1
Data Space Used: 697.7 MB
Data Space Total: 107.4 GB
Data Space Available: 34.53 GB
Metadata Space Used: 1.241 MB
Metadata Space Total: 2.147 GB
Metadata Space Available: 2.146 GB
Udev Sync Supported: true
Deferred Removal Enabled: false
Data loop file: /var/lib/docker/devicemapper/devicemapper/data
Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
Library Version: 1.02.95-RHEL6 (2015-09-08)
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 2.6.32-279.9.1.el6.centos.plus.x86_64
Operating System:
CPUs: 2
Total Memory: 489.6 MiB

docker version
Client version: 1.7.1
Client API version: 1.19
Go version (client): go1.4.2
Git commit (client): 786b29d
OS/Arch (client): linux/amd64
Server version: 1.7.1
Server API version: 1.19
Go version (server): go1.4.2
Git commit (server): 786b29d
OS/Arch (server): linux/amd64

Any idea what is going wrong :?

i ran a config check and it gives below results.can any one figure out what is wrong

[root@localhost /]# ./check-config.sh
warning: /proc/config.gz does not exist, searching other paths for kernel config …
info: reading kernel config from /boot/config-2.6.32-279.9.1.el6.centos.plus.x86_64 …

Generally Necessary:

  • cgroup hierarchy: properly mounted [/cgroup]
  • CONFIG_NAMESPACES: enabled
  • CONFIG_NET_NS: enabled
  • CONFIG_PID_NS: enabled
  • CONFIG_IPC_NS: enabled
  • CONFIG_UTS_NS: enabled
  • CONFIG_DEVPTS_MULTIPLE_INSTANCES: enabled
  • CONFIG_CGROUPS: enabled
  • CONFIG_CGROUP_CPUACCT: enabled
  • CONFIG_CGROUP_DEVICE: enabled
  • CONFIG_CGROUP_FREEZER: enabled
  • CONFIG_CGROUP_SCHED: enabled
  • CONFIG_CPUSETS: enabled
  • CONFIG_MEMCG: missing
  • CONFIG_MACVLAN: enabled (as module)
  • CONFIG_VETH: enabled (as module)
  • CONFIG_BRIDGE: enabled (as module)
  • CONFIG_BRIDGE_NETFILTER: enabled
  • CONFIG_NF_NAT_IPV4: missing
  • CONFIG_IP_NF_FILTER: enabled (as module)
  • CONFIG_IP_NF_TARGET_MASQUERADE: enabled (as module)
  • CONFIG_NETFILTER_XT_MATCH_ADDRTYPE: missing
  • CONFIG_NETFILTER_XT_MATCH_CONNTRACK: enabled (as module)
  • CONFIG_NF_NAT: enabled (as module)
  • CONFIG_NF_NAT_NEEDED: enabled
  • CONFIG_POSIX_MQUEUE: enabled

Optional Features:

  • CONFIG_USER_NS: enabled
  • CONFIG_SECCOMP: missing
  • CONFIG_MEMCG_KMEM: missing
  • CONFIG_MEMCG_SWAP: missing
  • CONFIG_MEMCG_SWAP_ENABLED: missing
  • CONFIG_RESOURCE_COUNTERS: enabled
  • CONFIG_BLK_CGROUP: enabled
  • CONFIG_IOSCHED_CFQ: enabled
  • CONFIG_BLK_DEV_THROTTLING: enabled
  • CONFIG_CGROUP_PERF: enabled
  • CONFIG_CGROUP_HUGETLB: missing
  • CONFIG_NET_CLS_CGROUP: enabled
  • CONFIG_NETPRIO_CGROUP: enabled
  • CONFIG_CFS_BANDWIDTH: enabled
  • CONFIG_FAIR_GROUP_SCHED: enabled
  • CONFIG_RT_GROUP_SCHED: enabled
  • CONFIG_EXT3_FS: enabled (as module)
  • CONFIG_EXT3_FS_XATTR: enabled
  • CONFIG_EXT3_FS_POSIX_ACL: enabled
  • CONFIG_EXT3_FS_SECURITY: enabled
  • CONFIG_EXT4_FS: enabled (as module)
  • CONFIG_EXT4_FS_POSIX_ACL: enabled
  • CONFIG_EXT4_FS_SECURITY: enabled
  • Storage Drivers:
    • “aufs”:
      • CONFIG_AUFS_FS: missing
    • “btrfs”:
      • CONFIG_BTRFS_FS: enabled (as module)
    • “devicemapper”:
      • CONFIG_BLK_DEV_DM: enabled (as module)
      • CONFIG_DM_THIN_PROVISIONING: enabled (as module)
    • “overlay”:
      • CONFIG_OVERLAY_FS: missing
    • “zfs”:
      • /dev/zfs: missing
      • zfs command: missing
      • zpool command: missing

Team,

Any help on this will be appreciated

Thanks in advance

What is the output of: cat /etc/*release

Thanks,

Jerry

Please find the release

CentOS release 6.7 (Final)
LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch
CentOS release 6.7 (Final)
CentOS release 6.7 (Final)

Any updates : ?

Regards
Ankur pandita