[docker install] does not work in Ubuntu 12.04

I've followed already this

~~[https://www.linode.com/docs/applications/containers/docker" target="_blank">](https://www.linode.com/docs/application … ers/docker">https://www.linode.com/docs/applications/containers/docker](

~~[https://docs.docker.com/installation/ubuntulinux/#ubuntu-precise-1204-lts-64-bit" target="_blank">](https://docs.docker.com/installation/ub … lts-64-bit">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)

2 Replies

Did you run apt-get update before at-get install lxc-docker?

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.01.5.0amd64.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.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct