Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
KalanaRatnayake committed Jul 2, 2024
2 parents 48a4ef5 + 0c0711b commit ae8fd42
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,12 @@ make HOST_COMPILER=/usr/bin/g++-8

Pull the docker container
```bash
docker pull ghcr.io/kalanaratnayake/foxy-ros:humble-ros-core-r32.7.1
docker pull ghcr.io/kalanaratnayake/foxy-ros:humble-core-r32.7.1
```

Build the docker container
```bash
docker buildx build --load --platform linux/arm64 -f ros-images/humble_core.Dockerfile -t foxy-ros:humble-ros-core-r32.7.1 .
docker buildx build --load --platform linux/arm64 -f ros-images/humble_core.Dockerfile -t foxy-ros:humble-core-r32.7.1 .
```

or build with cache locally and push when image compilation can be slow on github actions and exceeds 6rs
Expand All @@ -116,15 +116,15 @@ docker buildx build --push \
--cache-from=type=registry,ref=ghcr.io/kalanaratnayake/foxy-ros:humble-ros-core-buildcache \
--cache-to=type=registry,ref=ghcr.io/kalanaratnayake/foxy-ros:humble-ros-core-buildcache,mode=max \
-f ros-images/humble_core.Dockerfile \
-t ghcr.io/kalanaratnayake/foxy-ros:humble-ros-core-r32.7.1 .
-t ghcr.io/kalanaratnayake/foxy-ros:humble-core-r32.7.1 .
```

### Start

Start the docker container

```bash
docker run --rm -it --runtime nvidia --network host --gpus all -e DISPLAY ghcr.io/kalanaratnayake/foxy-ros:humble-ros-core-r32.7.1 bash
docker run --rm -it --runtime nvidia --network host --gpus all -e DISPLAY ghcr.io/kalanaratnayake/foxy-ros:humble-core-r32.7.1 bash
```

<br>
Expand All @@ -144,12 +144,12 @@ docker run --rm -it --runtime nvidia --network host --gpus all -e DISPLAY ghcr.i

Pull the docker container
```bash
docker pull ghcr.io/kalanaratnayake/foxy-ros:humble-ros-base-r32.7.1
docker pull ghcr.io/kalanaratnayake/foxy-ros:humble-base-r32.7.1
```

Build the docker container
```bash
docker buildx build --load --platform linux/arm64 -f ros-images/humble_base.Dockerfile -t foxy-ros:humble-ros-base-r32.7.1 .
docker buildx build --load --platform linux/arm64 -f ros-images/humble_base.Dockerfile -t foxy-ros:humble-base-r32.7.1 .
```

or build with cache locally and push when image compilation can be slow on github actions and exceeds 6rs
Expand All @@ -160,14 +160,14 @@ docker buildx build --push \
--cache-from=type=registry,ref=ghcr.io/kalanaratnayake/foxy-ros:humble-ros-base-buildcache \
--cache-to=type=registry,ref=ghcr.io/kalanaratnayake/foxy-ros:humble-ros-base-buildcache,mode=max \
-f ros-images/humble_base.Dockerfile \
-t ghcr.io/kalanaratnayake/foxy-ros:humble-ros-base-r32.7.1 .
-t ghcr.io/kalanaratnayake/foxy-ros:humble-base-r32.7.1 .
```

### Start

Start the docker container
```bash
docker run --rm -it --runtime nvidia --network host --gpus all -e DISPLAY ghcr.io/kalanaratnayake/foxy-ros:humble-ros-base-r32.7.1 bash
docker run --rm -it --runtime nvidia --network host --gpus all -e DISPLAY ghcr.io/kalanaratnayake/foxy-ros:humble-base-r32.7.1bash
```
<br>
</details>
Expand Down Expand Up @@ -219,20 +219,20 @@ docker run --rm -it --runtime nvidia --network host --gpus all -e DISPLAY ghcr.i

Pull the docker container
```bash
docker pull ghcr.io/kalanaratnayake/foxy-ros-pytorch:humble-core-1-13-r32.7.1
docker pull ghcr.io/kalanaratnayake/foxy-ros-pytorch:1-13-humble-core-r32.7.1
```

Build the docker container
```bash
docker buildx build --load --platform linux/arm64 -f ros-pytorch-images/humble_core_pytorch_1_13.Dockerfile -t foxy-ros-pytorch:humble-core-1-13-r32.7.1 .
docker buildx build --load --platform linux/arm64 -f ros-pytorch-images/humble_core_pytorch_1_13.Dockerfile -t foxy-ros-pytorch:1-13-humble-core-r32.7.1 .
```

### Start

Start the docker container

```bash
docker run --rm -it --runtime nvidia --network host --gpus all -e DISPLAY ghcr.io/kalanaratnayake/foxy-ros-pytorch:humble-core-1-13-r32.7.1 bash
docker run --rm -it --runtime nvidia --network host --gpus all -e DISPLAY ghcr.io/kalanaratnayake/foxy-ros-pytorch:1-13-humble-core-r32.7.1 bash
```

<br>
Expand Down

0 comments on commit ae8fd42

Please sign in to comment.