105800 Views
82496 Views
47243 Views
47066 Views
45458 Views
38527 Views
Pi-Apps
Intermediate MicroPython
Arduino Alvik
Raspberry Pi Time machine
Now Ad-Free
Guiding Light
Intermediate level MicroPython
Introduction to FreeCAD for Beginners
Building a Robot Arm with Raspberry Pi and PCA9685
Building User Authentication for Static Sites with FastAPI
Mastering Pydantic for Robust Data Validation
Mastering Markdown for Documentation with Jekyll
KevsRobots Learning Platform
25% Percent Complete
By Kevin McAleer, 2 Minutes
We will use Docker to manage our ROS environment. Docker enables us to run containers; each container is a separate environment and can contain its own files, and run its own processes. Containers are like lightweight Virtual Machines, without the need to emulate an entire computer.
To get the Docker installation script:
curl -fsSL https://get.docker.com -o get-docker.sh chmod +x get-docker.sh
If you want to remove any existing docker installations, do this step before installing docker.
sudo apt-get purge docker-ce docker-ce-cli containerd.io -y
./get-docker.sh
Docker can run commands from a regular user account, but first we need to fix the permissions
sudo usermod -aG docker pi
Where Pi is the user account you created when setting up the Pi
Pi
sudo systemctl unmask docker
sudo chmod 666 /var/run/docker.sock
pip3 -v install docker-compose
sudo systemctl start docker
sudo init 6
< Previous Next >