I have installed Ubuntu 18.04 container and got error while adding ros melodic there.
E: Unable to locate package ros-melodic-desktop-full
Neither ros-melodic nor ros-melodic-desktop.
Should I just get installed Ubuntu 18.04 as second OS next to Ubuntu 20.04 or set into VM?
I have managed to pull the ros-meldoic using those commands in my ubuntu 18.04
docker pull ros:melodic
docker pull osrf/ros:melodic-desktop-full // for GUI tool
To run something,
docker run -it --rm osrf/ros:melodic-desktop-full roscore
Note: Melodic is not supported on Ubuntu Focal (20.04) and that's why docker is a good alternative
Related
I've tried
Uninstall Docker
Restart machine
Installed a linux WLS distro: wsl --install -d Ubuntu
Installed Docker again
I am trying to install Docker and get it up and running on my machine. But let me tell you what OS I am using and how I am using it. I have a Windows 10 laptop. Then I installed Oracle VirtualBox on it. Then I installed Ubuntu on top of it. I am trying to install Docker and get it up and running on Ubuntu. I installed Docker.
sudo snap install docker
sudo apt install docker-compose
Then I tried to boost up the Docker Compose of my project running the following command.
docker-compose up --build -d
Then I got the following error.
ERROR: Couldn't connect to Docker daemon - you might need to run `docker-machine start default`.
Then I tried to create the Docker machine because there is no default machine. I run the following command.
docker-machine create -d virtualbox default
Then I got the following error.
Error with pre-create check: "VBoxManage not found. Make sure VirtualBox is installed and VBoxManage is in the path"
Then I tried installing the VirtualBox running the following commands.
sudo apt-get install virtualbox
sudo apt-get install virtualbox-ext-pack
It was successfully installed. I tried running the following command again.
docker-machine create -d virtualbox default
I am still getting the same error. What is missing in my configuration and how can I fix it?
I tried installing docker on Amazon Linux but found that currently sudo yum install docker installs version 1.12. However, I need docker version 17.04. How can I upgrade my docker version or install version 17.04 on Amazon Linux ?
Docker instillation comes with a predefined Cloud formation template this can be found in , the version is 17 here
https://editions-us-east-1.s3.amazonaws.com/aws/stable/Docker.tmpl
you can always run an upgrade command if you do not want to sue a cloud formation template
$ docker-machine upgrade default
I am trying to install docker on machine which is
Distributor ID: CentOS
Description: CentOS release 6.7 (Final)
Release: 6.7
Codename: Final
I followed article https://docs.docker.com/engine/installation/linux/centos/#install-from-a-package
I am at the step where is says
$ sudo systemctl start docker
And when I run it I get
$ sudo systemctl start docker
sudo: systemctl: command not found
What am I missing?
As already commented, the later versions of Docker only install on CentOS 7. See the OS requirements section at https://docs.docker.com/engine/installation/linux/centos/#os-requirements. I believe CentOS 6 uses a SysV init system while CentOS 7 is based on systemd. This is why there is no systemctl command on your CentOS 6 system.
Docker 1.7.1 is available on EPEL as the docker-io package. After that support for RHEL6 was dropped.
I want to install docker stable version in my suse system (version sles 12). For installing docker in suse system, need to add repository of docker.
I didn't found any url (repository url) for adding docker repository of version 1.6. I found docker version 1.12 but it is not working in my case. I removed docker repository now.
can anyone suggest me how I can add correct repository and install docker further in my system?
edit- sample commands and output
docker -v
Docker version 1.6.0, build 4749651
docker pull hello-world
FATA[0000] Cannot connect to the Docker daemon. Is 'docker -d' running on this host?
sudo docker pull hello-world
sudo: docker: command not found
You can use zypper to do that.
You have to adapt the repository url to your SUSE version. To find the correct package repository, please follow this link
https://software.opensuse.org/download.html?project=Virtualization%3Acontainers&package=docker
sudo zypper addrepo https://download.opensuse.org/repositories/Virtualization:containers/openSUSE_Leap_15.0/Virtualization:containers.repo
sudo zypper dist-upgrade
sudo zypper update
sudo zypper install docker
Source : https://w3blog.fr/en/2019/03/25/install-docker-open-source-on-linux-suse/
You will find Docker 1.6 at
https://get.docker.com/builds/Linux/x86_64/docker-1.6.0.tgz
The general doc for installing docker in Suse is available at
https://docs.docker.com/engine/installation/linux/SUSE/