Docker Community Forums

Share and learn in the Docker community.

Installing on Ubuntu trusty


(Oliver Kohll) #1

Hello, there’s a problem installing on my Ubuntu box:

Following https://docs.docker.com/installation/ubuntulinux/

fails with

root@srv:~# apt-get install docker-engine
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package docker-engine

Full log of steps below. Any ideas?

Oliver

root@srv:~# uname -r
4.1.5-x86_64-linode61

root@srv:~# apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.evfPR7l3Q8 --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://pgp.mit.edu:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
gpg: requesting key 2C52609D from hkp server pgp.mit.edu
gpg: key 2C52609D: "Docker Release Tool (releasedocker) <docker@docker.com>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1

root@srv:~# cat /etc/apt/sources.list.d/docker.list
# Ubuntu Trusty
deb https://apt.dockerproject.org/repo ubuntu-trusty main

root@srv:~# apt-get update
Ign http://ppa.launchpad.net trusty InRelease
Hit http://ppa.launchpad.net trusty Release.gpg                                
Hit http://ppa.launchpad.net trusty Release                                    
Hit http://ppa.launchpad.net trusty/main Sources                               
Hit http://ppa.launchpad.net trusty/main i386 Packages                         
Hit http://ppa.launchpad.net trusty/main Translation-en                        
Ign http://us.archive.ubuntu.com trusty InRelease                              
Get:1 http://security.ubuntu.com trusty-security InRelease [64.4 kB]           
Get:2 http://us.archive.ubuntu.com trusty-updates InRelease [64.4 kB]
Get:3 https://apt.dockerproject.org ubuntu-trusty InRelease            
Ign https://apt.dockerproject.org ubuntu-trusty InRelease                      
Hit https://apt.dockerproject.org ubuntu-trusty Release.gpg                    
Hit https://apt.dockerproject.org ubuntu-trusty Release                
Hit https://apt.dockerproject.org ubuntu-trusty/main i386 Packages             
Get:4 https://apt.dockerproject.org ubuntu-trusty/main Translation-en_US       
Get:5 http://security.ubuntu.com trusty-security/main Sources [97.7 kB]        
Hit http://us.archive.ubuntu.com trusty-backports InRelease
Hit http://us.archive.ubuntu.com trusty Release.gpg                            
Get:6 http://us.archive.ubuntu.com trusty-updates/main Sources [241 kB]
Get:7 http://security.ubuntu.com trusty-security/restricted Sources [3,357 B] 
Get:8 http://security.ubuntu.com trusty-security/universe Sources [31.0 kB]   
Get:9 http://security.ubuntu.com trusty-security/multiverse Sources [2,346 B]
Get:10 http://security.ubuntu.com trusty-security/main i386 Packages [338 kB]
Get:11 http://us.archive.ubuntu.com trusty-updates/restricted Sources [4,722 B]
Get:12 http://us.archive.ubuntu.com trusty-updates/universe Sources [140 kB]   
Ign https://apt.dockerproject.org ubuntu-trusty/main Translation-en_US         
Get:13 http://us.archive.ubuntu.com trusty-updates/multiverse Sources [5,145 B]
Get:14 http://security.ubuntu.com trusty-security/restricted i386 Packages [12.2 kB]
Get:15 http://us.archive.ubuntu.com trusty-updates/main i386 Packages [616 kB] 
Get:16 http://security.ubuntu.com trusty-security/universe i386 Packages [117 kB]
Ign https://apt.dockerproject.org ubuntu-trusty/main Translation-en            
Get:17 http://security.ubuntu.com trusty-security/multiverse i386 Packages [3,846 B]
Hit http://security.ubuntu.com trusty-security/main Translation-en             
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en       
Hit http://security.ubuntu.com trusty-security/restricted Translation-en       
Hit http://security.ubuntu.com trusty-security/universe Translation-en         
Get:18 http://us.archive.ubuntu.com trusty-updates/restricted i386 Packages [15.1 kB]
Get:19 http://us.archive.ubuntu.com trusty-updates/universe i386 Packages [325 kB]
Get:20 http://us.archive.ubuntu.com trusty-updates/multiverse i386 Packages [12.1 kB]
Hit http://us.archive.ubuntu.com trusty-updates/main Translation-en
Hit http://us.archive.ubuntu.com trusty-updates/multiverse Translation-en   
Hit http://us.archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://us.archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://us.archive.ubuntu.com trusty-backports/main Sources
Hit http://us.archive.ubuntu.com trusty-backports/restricted Sources
Hit http://us.archive.ubuntu.com trusty-backports/universe Sources
Hit http://us.archive.ubuntu.com trusty-backports/multiverse Sources
Hit http://us.archive.ubuntu.com trusty-backports/main i386 Packages
Hit http://us.archive.ubuntu.com trusty-backports/restricted i386 Packages
Hit http://us.archive.ubuntu.com trusty-backports/universe i386 Packages
Hit http://us.archive.ubuntu.com trusty-backports/multiverse i386 Packages
Hit http://us.archive.ubuntu.com trusty-backports/main Translation-en
Hit http://us.archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://us.archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://us.archive.ubuntu.com trusty-backports/universe Translation-en
Hit http://us.archive.ubuntu.com trusty Release   
Hit http://us.archive.ubuntu.com trusty/main Sources
Hit http://us.archive.ubuntu.com trusty/restricted Sources
Hit http://us.archive.ubuntu.com trusty/universe Sources
Hit http://us.archive.ubuntu.com trusty/multiverse Sources
Hit http://us.archive.ubuntu.com trusty/main i386 Packages
Hit http://us.archive.ubuntu.com trusty/restricted i386 Packages
Hit http://us.archive.ubuntu.com trusty/universe i386 Packages
Hit http://us.archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://us.archive.ubuntu.com trusty/main Translation-en
Hit http://us.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://us.archive.ubuntu.com trusty/restricted Translation-en
Hit http://us.archive.ubuntu.com trusty/universe Translation-en
Ign http://us.archive.ubuntu.com trusty/main Translation-en_US                 
Ign http://us.archive.ubuntu.com trusty/multiverse Translation-en_US           
Ign http://us.archive.ubuntu.com trusty/restricted Translation-en_US           
Ign http://us.archive.ubuntu.com trusty/universe Translation-en_US             
Fetched 2,093 kB in 8s (257 kB/s)                                              
Reading package lists... Done

root@srv:~# apt-get purge lxc-docker*
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package lxc-docker*
E: Couldn't find any package by regex 'lxc-docker*'

root@srv:~# apt-cache policy docker-engine
N: Unable to locate package docker-engine

root@srv:~# apt-get install docker-engine
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package docker-engine

(Ranjandas) #2

Hi,

Looks like you are running a 32 bit Ubuntu Trusty. Docker Daemon only runs on 64 bit Distributions.

Regards


(Oliver Kohll) #3

Aha! Thanks, I’ll try on a 64-bit instance.