Skip to content

Commit 64a6f0d

Browse files
add host ipc and pid
1 parent d01878b commit 64a6f0d

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ dev: $(DEV_BUILT) sync-submodules
4545
--name=$(REPO_NAME)-dev \
4646
--userns=host \
4747
--network=host \
48+
--pid=host \
49+
--ipc=host \
4850
-e QT_X11_NO_MITSHM=1 \
4951
-e NVIDIA_DRIVER_CAPABILITIES=all \
5052
-e DISPLAY=$$DISPLAY \

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,17 @@ Make commands that rely on a specific image existing (`make build`, `make test`,
3535
`make dev` will, by default, bridge the following between the host and container:
3636

3737
- `/workspace` volume with rw access
38-
- host user namespace
3938
- host network
39+
- host user namespace
40+
- host pid namespace
41+
- host ipc namespace
4042
- X11
4143

4244
All the commands and syntax used is intended to be compatible with [podman](https://podman.io/), [docker](https://www.docker.com/), or any other OCI complaint container engine.
4345

4446
## Usage
4547

46-
To set up the template, replace `ROS_DISTRO` and `REPO_NAME` in `Makefile` with your desired distro and project name. If you're using devcontainers, replace `ROS_DISTRO` in `./container/devcontainer.json` as well.
48+
To set up the template, replace `ROS_DISTRO` and `REPO_NAME` in `Makefile` with your desired distro and project name. If you're using devcontainers, replace `ROS_DISTRO` in `.devcontainer.json` as well.
4749

4850
### Installing Packages
4951

0 commit comments

Comments
 (0)