Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Mar 03, 2015 1:45 pm 
Offline
Newbie

Joined: Tue Mar 03, 2015 1:36 pm
Posts: 2
I've followed already this
https://www.linode.com/docs/applications/containers/docker
https://docs.docker.com/installation/ubuntulinux/#ubuntu-precise-1204-lts-64-bit

but I'm still struggling to install it. For some weird reason it does not seem to find the installer. I've tried alternative mirrors like http://mirror.yandex.ru/mirrors/docker/ but I get exactly the same result regardless of the mirror.

root@development:~# cat /etc/apt/sources.list.d/docker.list
deb https://get.docker.com/ubuntu docker main
root@development:~# sudo apt-get install lxc-docker
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package lxc-docker
root@development:~#

Has anybody successfully installed docker? I'm running on 3.18.5-x86_64-linode52 kernel and Ubuntu 12.04.5 LTS (precise)


Top
   
PostPosted: Tue Mar 03, 2015 3:24 pm 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Did you run apt-get update before at-get install lxc-docker?

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
PostPosted: Tue Mar 03, 2015 8:27 pm 
Offline
Newbie

Joined: Tue Mar 03, 2015 1:36 pm
Posts: 2
Yes absolutely.

My problem was that Docker is supported on 64 only. I only found out by trying to install .deb package manually.

dpkg: error processing lxc-docker-1.5.0_1.5.0_amd64.deb (--install): package architecture (amd64) does not match system (i386)

uname -a gives me ----> x86_64
file /sbin/init gives me -----> ELF 32-bit LSB

So even though from your console I see I'm running on x86_64 kernel the Executable and Linkable Format (ELF) is clearly 32 bits. Problem solved now. Needed to re build a new 64 bit node from scratch.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group