File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -150,25 +150,28 @@ If you encounter issues:
150150
151151### Docker Development Image
152152
153- To build a development docker image you can use ` .devcontainer/Dockerfile.dev ` dockerfile with the following command.
153+ The ` .devcontainer/Dockerfile.dev `
154+ dockerfile can be built directly with the following command.
154155
155- ```
156+ ``` sh
156157 docker build -t opentelemetry-cpp-dev -f ./.devcontainer/Dockerfile.dev .
157158```
158159
159- You can customize the image using build arguments. Commonly you should set your user id and group id.
160+ You can customize the image using build arguments
161+ to match permissions with the host user.
160162
161- ```
163+ ``` sh
162164 docker build -t opentelemetry-cpp-dev \
163165 --build-arg USER_UID=" $( id -u) " \
164166 --build-arg USER_GID=" $( id -g) " \
165167 -f ./.devcontainer/Dockerfile.dev .
166168
167169```
168170
169- Run an interactive bash session binding your host opentelemetry-cpp directory to the container:
171+ Run an interactive bash session binding your host
172+ opentelemetry-cpp directory to the container's workspace:
170173
171- ```
174+ ``` sh
172175docker run -it -v " $PWD :/workspaces/opentelemetry-cpp" opentelemetry-cpp-dev bash
173176```
174177
You can’t perform that action at this time.
0 commit comments