Unable to locate package docker-engine
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I'm trying to install docker on Ubuntu in vmware, unsuccessfully.
These are the commands and errors I experience.
sudo apt-get update
sudo apt-get install docker-engine
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package docker-engine
14.04 docker
|
show 3 more comments
I'm trying to install docker on Ubuntu in vmware, unsuccessfully.
These are the commands and errors I experience.
sudo apt-get update
sudo apt-get install docker-engine
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package docker-engine
14.04 docker
Make sure you have installed the prerequisites for your Ubuntu version. Then, install Docker.
– NIMISHAN
Dec 15 '15 at 9:37
I already followed the steps in prerequisites sudo apt-get install linux-image-extra-$(uname -r)
– praveen
Dec 15 '15 at 9:43
1
Have you created/etc/apt/sources.list.d/docker.list
and add the correct deb entries for your Ubuntu?
– Tung Tran
Dec 15 '15 at 10:26
Thanks, earlier it is unable to create the /etc/apt/sources.list.d/docker.list after trying & trying finally it got created and successfully installed the docker in my machine.... thanks again.......!
– praveen
Dec 15 '15 at 11:10
Actually I am having the same issue although .../docker.list is correct avi@guest-Inspiron-1464:~$ cat /etc/apt/sources.list.d/docker.list deb apt.dockerproject.org/repo ubuntu-trusty main avi@guest-Inspiron-1464:~$ apt-cache policy docker-engine N: Unable to locate package docker-engine
– igx
Dec 15 '15 at 14:05
|
show 3 more comments
I'm trying to install docker on Ubuntu in vmware, unsuccessfully.
These are the commands and errors I experience.
sudo apt-get update
sudo apt-get install docker-engine
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package docker-engine
14.04 docker
I'm trying to install docker on Ubuntu in vmware, unsuccessfully.
These are the commands and errors I experience.
sudo apt-get update
sudo apt-get install docker-engine
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package docker-engine
14.04 docker
14.04 docker
edited Dec 15 '15 at 9:33
Arronical
13.7k84993
13.7k84993
asked Dec 15 '15 at 9:31
praveenpraveen
1132310
1132310
Make sure you have installed the prerequisites for your Ubuntu version. Then, install Docker.
– NIMISHAN
Dec 15 '15 at 9:37
I already followed the steps in prerequisites sudo apt-get install linux-image-extra-$(uname -r)
– praveen
Dec 15 '15 at 9:43
1
Have you created/etc/apt/sources.list.d/docker.list
and add the correct deb entries for your Ubuntu?
– Tung Tran
Dec 15 '15 at 10:26
Thanks, earlier it is unable to create the /etc/apt/sources.list.d/docker.list after trying & trying finally it got created and successfully installed the docker in my machine.... thanks again.......!
– praveen
Dec 15 '15 at 11:10
Actually I am having the same issue although .../docker.list is correct avi@guest-Inspiron-1464:~$ cat /etc/apt/sources.list.d/docker.list deb apt.dockerproject.org/repo ubuntu-trusty main avi@guest-Inspiron-1464:~$ apt-cache policy docker-engine N: Unable to locate package docker-engine
– igx
Dec 15 '15 at 14:05
|
show 3 more comments
Make sure you have installed the prerequisites for your Ubuntu version. Then, install Docker.
– NIMISHAN
Dec 15 '15 at 9:37
I already followed the steps in prerequisites sudo apt-get install linux-image-extra-$(uname -r)
– praveen
Dec 15 '15 at 9:43
1
Have you created/etc/apt/sources.list.d/docker.list
and add the correct deb entries for your Ubuntu?
– Tung Tran
Dec 15 '15 at 10:26
Thanks, earlier it is unable to create the /etc/apt/sources.list.d/docker.list after trying & trying finally it got created and successfully installed the docker in my machine.... thanks again.......!
– praveen
Dec 15 '15 at 11:10
Actually I am having the same issue although .../docker.list is correct avi@guest-Inspiron-1464:~$ cat /etc/apt/sources.list.d/docker.list deb apt.dockerproject.org/repo ubuntu-trusty main avi@guest-Inspiron-1464:~$ apt-cache policy docker-engine N: Unable to locate package docker-engine
– igx
Dec 15 '15 at 14:05
Make sure you have installed the prerequisites for your Ubuntu version. Then, install Docker.
– NIMISHAN
Dec 15 '15 at 9:37
Make sure you have installed the prerequisites for your Ubuntu version. Then, install Docker.
– NIMISHAN
Dec 15 '15 at 9:37
I already followed the steps in prerequisites sudo apt-get install linux-image-extra-$(uname -r)
– praveen
Dec 15 '15 at 9:43
I already followed the steps in prerequisites sudo apt-get install linux-image-extra-$(uname -r)
– praveen
Dec 15 '15 at 9:43
1
1
Have you created
/etc/apt/sources.list.d/docker.list
and add the correct deb entries for your Ubuntu?– Tung Tran
Dec 15 '15 at 10:26
Have you created
/etc/apt/sources.list.d/docker.list
and add the correct deb entries for your Ubuntu?– Tung Tran
Dec 15 '15 at 10:26
Thanks, earlier it is unable to create the /etc/apt/sources.list.d/docker.list after trying & trying finally it got created and successfully installed the docker in my machine.... thanks again.......!
– praveen
Dec 15 '15 at 11:10
Thanks, earlier it is unable to create the /etc/apt/sources.list.d/docker.list after trying & trying finally it got created and successfully installed the docker in my machine.... thanks again.......!
– praveen
Dec 15 '15 at 11:10
Actually I am having the same issue although .../docker.list is correct avi@guest-Inspiron-1464:~$ cat /etc/apt/sources.list.d/docker.list deb apt.dockerproject.org/repo ubuntu-trusty main avi@guest-Inspiron-1464:~$ apt-cache policy docker-engine N: Unable to locate package docker-engine
– igx
Dec 15 '15 at 14:05
Actually I am having the same issue although .../docker.list is correct avi@guest-Inspiron-1464:~$ cat /etc/apt/sources.list.d/docker.list deb apt.dockerproject.org/repo ubuntu-trusty main avi@guest-Inspiron-1464:~$ apt-cache policy docker-engine N: Unable to locate package docker-engine
– igx
Dec 15 '15 at 14:05
|
show 3 more comments
4 Answers
4
active
oldest
votes
Try 'uname -a' and make sure you're running a 64-bit architecture:
Docker requires a 64-bit installation regardless of your Ubuntu version.
https://docs.docker.com/engine/installation/linux/ubuntulinux/
add a comment |
As mentioned in the comments, you have to
- find out your distribution name via
lsb_release -c
- the file
/etc/apt/sources.list.d/docker.list
should have the following content (and nothing else):deb https://apt.dockerproject.org/repo ubuntu-VERSION-NAME main
In my case (Ubuntu 14.04 aka 'trusty') I added deb https://apt.dockerproject.org/repo ubuntu-trusty main
2
Look at docs.docker.com/engine/installation/linux/ubuntulinux where there are detailed instructions on setting up apt and related keys to get docker. I had it installed via docker.io (the package maintained by ubuntu) which left me with an unresolved docker-engine package trying to install nvidia-docker. I had to uninstall and purge docker.io before getting docker-engine installed.
– Caz
Aug 26 '16 at 14:05
add a comment |
I fixed this issue by running apt-get update followed by apt-get install docker.io
add a comment |
I had other issues including "Unable" in Ubuntu 16.04. This is bash script to solve issues in my machine.
#!/bin/bash
sudo apt update
sudo rm /var/lib/apt/lists/*
sudo rm /var/cache/apt/*.bin
VERSION-NAME=$(lsb_release -c)
y=$(echo $VERSION-NAME | awk '{print $2}')
echo $y
cd /etc/apt/sources.list.d
touch docker_test.list
echo "deb https://apt.dockerproject.org/repo ubuntu-$y main" > docker_test.list
sudo apt-get install linux-image-extra-$(uname -r)
sudo apt-get update
sudo apt-get install docker.io
I had different issue when I had to uninstall Docker at the time. This is bash script (source) for my machine.
# For unistall in Ubuntu
sudo apt-get purge docker.io
# This will erase all your container images
sudo rm -rf /var/lib/docker
# This will erase all docker configs
sudo rm -rf /etc/docker/
sudo apt-get purge docker.io
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f709699%2funable-to-locate-package-docker-engine%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
Try 'uname -a' and make sure you're running a 64-bit architecture:
Docker requires a 64-bit installation regardless of your Ubuntu version.
https://docs.docker.com/engine/installation/linux/ubuntulinux/
add a comment |
Try 'uname -a' and make sure you're running a 64-bit architecture:
Docker requires a 64-bit installation regardless of your Ubuntu version.
https://docs.docker.com/engine/installation/linux/ubuntulinux/
add a comment |
Try 'uname -a' and make sure you're running a 64-bit architecture:
Docker requires a 64-bit installation regardless of your Ubuntu version.
https://docs.docker.com/engine/installation/linux/ubuntulinux/
Try 'uname -a' and make sure you're running a 64-bit architecture:
Docker requires a 64-bit installation regardless of your Ubuntu version.
https://docs.docker.com/engine/installation/linux/ubuntulinux/
answered May 3 '16 at 6:22
Andre P.Andre P.
13112
13112
add a comment |
add a comment |
As mentioned in the comments, you have to
- find out your distribution name via
lsb_release -c
- the file
/etc/apt/sources.list.d/docker.list
should have the following content (and nothing else):deb https://apt.dockerproject.org/repo ubuntu-VERSION-NAME main
In my case (Ubuntu 14.04 aka 'trusty') I added deb https://apt.dockerproject.org/repo ubuntu-trusty main
2
Look at docs.docker.com/engine/installation/linux/ubuntulinux where there are detailed instructions on setting up apt and related keys to get docker. I had it installed via docker.io (the package maintained by ubuntu) which left me with an unresolved docker-engine package trying to install nvidia-docker. I had to uninstall and purge docker.io before getting docker-engine installed.
– Caz
Aug 26 '16 at 14:05
add a comment |
As mentioned in the comments, you have to
- find out your distribution name via
lsb_release -c
- the file
/etc/apt/sources.list.d/docker.list
should have the following content (and nothing else):deb https://apt.dockerproject.org/repo ubuntu-VERSION-NAME main
In my case (Ubuntu 14.04 aka 'trusty') I added deb https://apt.dockerproject.org/repo ubuntu-trusty main
2
Look at docs.docker.com/engine/installation/linux/ubuntulinux where there are detailed instructions on setting up apt and related keys to get docker. I had it installed via docker.io (the package maintained by ubuntu) which left me with an unresolved docker-engine package trying to install nvidia-docker. I had to uninstall and purge docker.io before getting docker-engine installed.
– Caz
Aug 26 '16 at 14:05
add a comment |
As mentioned in the comments, you have to
- find out your distribution name via
lsb_release -c
- the file
/etc/apt/sources.list.d/docker.list
should have the following content (and nothing else):deb https://apt.dockerproject.org/repo ubuntu-VERSION-NAME main
In my case (Ubuntu 14.04 aka 'trusty') I added deb https://apt.dockerproject.org/repo ubuntu-trusty main
As mentioned in the comments, you have to
- find out your distribution name via
lsb_release -c
- the file
/etc/apt/sources.list.d/docker.list
should have the following content (and nothing else):deb https://apt.dockerproject.org/repo ubuntu-VERSION-NAME main
In my case (Ubuntu 14.04 aka 'trusty') I added deb https://apt.dockerproject.org/repo ubuntu-trusty main
answered Feb 10 '16 at 17:06
SebastianSebastian
1734
1734
2
Look at docs.docker.com/engine/installation/linux/ubuntulinux where there are detailed instructions on setting up apt and related keys to get docker. I had it installed via docker.io (the package maintained by ubuntu) which left me with an unresolved docker-engine package trying to install nvidia-docker. I had to uninstall and purge docker.io before getting docker-engine installed.
– Caz
Aug 26 '16 at 14:05
add a comment |
2
Look at docs.docker.com/engine/installation/linux/ubuntulinux where there are detailed instructions on setting up apt and related keys to get docker. I had it installed via docker.io (the package maintained by ubuntu) which left me with an unresolved docker-engine package trying to install nvidia-docker. I had to uninstall and purge docker.io before getting docker-engine installed.
– Caz
Aug 26 '16 at 14:05
2
2
Look at docs.docker.com/engine/installation/linux/ubuntulinux where there are detailed instructions on setting up apt and related keys to get docker. I had it installed via docker.io (the package maintained by ubuntu) which left me with an unresolved docker-engine package trying to install nvidia-docker. I had to uninstall and purge docker.io before getting docker-engine installed.
– Caz
Aug 26 '16 at 14:05
Look at docs.docker.com/engine/installation/linux/ubuntulinux where there are detailed instructions on setting up apt and related keys to get docker. I had it installed via docker.io (the package maintained by ubuntu) which left me with an unresolved docker-engine package trying to install nvidia-docker. I had to uninstall and purge docker.io before getting docker-engine installed.
– Caz
Aug 26 '16 at 14:05
add a comment |
I fixed this issue by running apt-get update followed by apt-get install docker.io
add a comment |
I fixed this issue by running apt-get update followed by apt-get install docker.io
add a comment |
I fixed this issue by running apt-get update followed by apt-get install docker.io
I fixed this issue by running apt-get update followed by apt-get install docker.io
answered Feb 7 at 6:47
Abhishek JainAbhishek Jain
1111
1111
add a comment |
add a comment |
I had other issues including "Unable" in Ubuntu 16.04. This is bash script to solve issues in my machine.
#!/bin/bash
sudo apt update
sudo rm /var/lib/apt/lists/*
sudo rm /var/cache/apt/*.bin
VERSION-NAME=$(lsb_release -c)
y=$(echo $VERSION-NAME | awk '{print $2}')
echo $y
cd /etc/apt/sources.list.d
touch docker_test.list
echo "deb https://apt.dockerproject.org/repo ubuntu-$y main" > docker_test.list
sudo apt-get install linux-image-extra-$(uname -r)
sudo apt-get update
sudo apt-get install docker.io
I had different issue when I had to uninstall Docker at the time. This is bash script (source) for my machine.
# For unistall in Ubuntu
sudo apt-get purge docker.io
# This will erase all your container images
sudo rm -rf /var/lib/docker
# This will erase all docker configs
sudo rm -rf /etc/docker/
sudo apt-get purge docker.io
add a comment |
I had other issues including "Unable" in Ubuntu 16.04. This is bash script to solve issues in my machine.
#!/bin/bash
sudo apt update
sudo rm /var/lib/apt/lists/*
sudo rm /var/cache/apt/*.bin
VERSION-NAME=$(lsb_release -c)
y=$(echo $VERSION-NAME | awk '{print $2}')
echo $y
cd /etc/apt/sources.list.d
touch docker_test.list
echo "deb https://apt.dockerproject.org/repo ubuntu-$y main" > docker_test.list
sudo apt-get install linux-image-extra-$(uname -r)
sudo apt-get update
sudo apt-get install docker.io
I had different issue when I had to uninstall Docker at the time. This is bash script (source) for my machine.
# For unistall in Ubuntu
sudo apt-get purge docker.io
# This will erase all your container images
sudo rm -rf /var/lib/docker
# This will erase all docker configs
sudo rm -rf /etc/docker/
sudo apt-get purge docker.io
add a comment |
I had other issues including "Unable" in Ubuntu 16.04. This is bash script to solve issues in my machine.
#!/bin/bash
sudo apt update
sudo rm /var/lib/apt/lists/*
sudo rm /var/cache/apt/*.bin
VERSION-NAME=$(lsb_release -c)
y=$(echo $VERSION-NAME | awk '{print $2}')
echo $y
cd /etc/apt/sources.list.d
touch docker_test.list
echo "deb https://apt.dockerproject.org/repo ubuntu-$y main" > docker_test.list
sudo apt-get install linux-image-extra-$(uname -r)
sudo apt-get update
sudo apt-get install docker.io
I had different issue when I had to uninstall Docker at the time. This is bash script (source) for my machine.
# For unistall in Ubuntu
sudo apt-get purge docker.io
# This will erase all your container images
sudo rm -rf /var/lib/docker
# This will erase all docker configs
sudo rm -rf /etc/docker/
sudo apt-get purge docker.io
I had other issues including "Unable" in Ubuntu 16.04. This is bash script to solve issues in my machine.
#!/bin/bash
sudo apt update
sudo rm /var/lib/apt/lists/*
sudo rm /var/cache/apt/*.bin
VERSION-NAME=$(lsb_release -c)
y=$(echo $VERSION-NAME | awk '{print $2}')
echo $y
cd /etc/apt/sources.list.d
touch docker_test.list
echo "deb https://apt.dockerproject.org/repo ubuntu-$y main" > docker_test.list
sudo apt-get install linux-image-extra-$(uname -r)
sudo apt-get update
sudo apt-get install docker.io
I had different issue when I had to uninstall Docker at the time. This is bash script (source) for my machine.
# For unistall in Ubuntu
sudo apt-get purge docker.io
# This will erase all your container images
sudo rm -rf /var/lib/docker
# This will erase all docker configs
sudo rm -rf /etc/docker/
sudo apt-get purge docker.io
answered Apr 21 '18 at 0:41
Cloud ChoCloud Cho
162
162
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f709699%2funable-to-locate-package-docker-engine%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Make sure you have installed the prerequisites for your Ubuntu version. Then, install Docker.
– NIMISHAN
Dec 15 '15 at 9:37
I already followed the steps in prerequisites sudo apt-get install linux-image-extra-$(uname -r)
– praveen
Dec 15 '15 at 9:43
1
Have you created
/etc/apt/sources.list.d/docker.list
and add the correct deb entries for your Ubuntu?– Tung Tran
Dec 15 '15 at 10:26
Thanks, earlier it is unable to create the /etc/apt/sources.list.d/docker.list after trying & trying finally it got created and successfully installed the docker in my machine.... thanks again.......!
– praveen
Dec 15 '15 at 11:10
Actually I am having the same issue although .../docker.list is correct avi@guest-Inspiron-1464:~$ cat /etc/apt/sources.list.d/docker.list deb apt.dockerproject.org/repo ubuntu-trusty main avi@guest-Inspiron-1464:~$ apt-cache policy docker-engine N: Unable to locate package docker-engine
– igx
Dec 15 '15 at 14:05