mirror of
https://github.com/bjoernellens1/ros2_docker_template.git
synced 2024-11-23 15:55:05 +00:00
Update README.md
This commit is contained in:
parent
a4f2a603aa
commit
1078c58192
17
README.md
17
README.md
@ -2,6 +2,23 @@
|
|||||||
|
|
||||||
This template repository should give a good overview on how to build your own ROS2 development instance and produce a new hosted docker image out of it.
|
This template repository should give a good overview on how to build your own ROS2 development instance and produce a new hosted docker image out of it.
|
||||||
|
|
||||||
|
## Install dependencies needed for working with docker images and tools to make your life easier
|
||||||
|
Using the official Docker convenience instaler script, we will install docker and docker compose:
|
||||||
|
```
|
||||||
|
curl -fsSL https://get.docker.com -o get-docker.sh
|
||||||
|
sudo sh get-docker.sh
|
||||||
|
```
|
||||||
|
Then add yourself to the docker group so you must not always use sudo when tinkering with docker commands:
|
||||||
|
```
|
||||||
|
sudo groupadd docker
|
||||||
|
sudo usermod -aG docker $USER
|
||||||
|
```
|
||||||
|
Update the group changes:
|
||||||
|
```
|
||||||
|
newgrp docker
|
||||||
|
```
|
||||||
|
Source: https://docs.docker.com/engine/install/ubuntu/#install-using-the-convenience-script
|
||||||
|
|
||||||
##### Only needed for multiplatform images
|
##### Only needed for multiplatform images
|
||||||
Following this guide you will also be able to do multiplatform builds with docker buildx.
|
Following this guide you will also be able to do multiplatform builds with docker buildx.
|
||||||
To build multiplatform images need binfmt dependencies for arm64 architecture as requirement (The resulting image works on PCs as well as Jetson Nano, Raspberry Pi, Apple Silicon Devices).
|
To build multiplatform images need binfmt dependencies for arm64 architecture as requirement (The resulting image works on PCs as well as Jetson Nano, Raspberry Pi, Apple Silicon Devices).
|
||||||
|
Loading…
Reference in New Issue
Block a user