Skip to content

Commit e9377c0

Browse files
author
BigJohhn
committed
update readme
1 parent 871a2ba commit e9377c0

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

docker/README.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,39 @@
1+
Preliminaries
2+
```
3+
Ensure nvidia-smi is work on your host machine.
4+
```
5+
You also need to make some changes in your Dockerfile && docker-compose.yml.
6+
```
7+
PREBUILD a docker image that have external dependencies
8+
9+
# 1stly, to build zeroth-bot-sim:v0
10+
# FROM nvidia/cuda:12.1.0-cudnn8-devel-ubuntu20.04
11+
12+
# COPY sources.list /etc/apt/sources.list
13+
14+
# RUN mkdir /root/.pip
15+
# COPY pip.conf /root/.pip/pip.conf
16+
17+
# RUN apt install -y wget zlib1g-dev libssl-dev libncurses5-dev libsqlite3-dev libreadline-dev libtk8.6 libgdm-dev libdb4o-cil-dev libpcap-dev
18+
# RUN wget https://mirrors.huaweicloud.com/python/3.8.19/Python-3.8.19.tar.xz && tar -xvf Python-3.8.19.tar.xz
19+
20+
# WORKDIR /root/Python-3.8.19
21+
# RUN ./configure --prefix=/usr/local && make && make install
22+
23+
# WORKDIR /usr/local/bin/
24+
# RUN ln -s pip3 pip
25+
26+
# WORKDIR /app/sim/
27+
# RUN make install-dev
28+
29+
# RUN wget https://developer.nvidia.com/isaac-gym-preview-4
30+
# # RUN tar -xvf
31+
# RUN make install-third-party-external
32+
33+
```
34+
35+
Then,
36+
137
Terminal1:
238
```
339
docker-compose up --build

0 commit comments

Comments
 (0)