File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -177,7 +177,13 @@ RUN wget -q https://bootstrap.pypa.io/get-pip.py -O get-pip.py \
177177 && python3 get-pip.py "pip"
178178
179179# Build MemryX SDK wheel
180- RUN pip3 wheel --wheel-dir=/wheels/memx/ --extra-index-url https://developer.memryx.com/pip memryx~=1.2.0
180+ RUN pip3 wheel --wheel-dir=/wheels/memx/ \
181+ --index-url https://download.pytorch.org/whl/cpu \
182+ --extra-index-url https://developer.memryx.com/pip \
183+ --extra-index-url https://pypi.org/simple \
184+ memryx~=1.2.0
185+
186+ RUN rm -f /wheels/memx/PySide6* /wheels/memx/Qt* /wheels/memx/qt_material*
181187
182188COPY docker/main/requirements.txt /requirements.txt
183189RUN pip3 install -r /requirements.txt
Original file line number Diff line number Diff line change @@ -165,9 +165,16 @@ devices:
165165 - /dev/memx0
166166` ` `
167167
168- During the configuration process , you should run Docker in privileged mode.
168+ During configuration, you must run Docker in privileged mode and ensure the container can access the host network gateway .
169169
170- In `docker-compose.yml`, add : ` privileged: true`
170+ In your `docker-compose.yml`, also add :
171+
172+ ` ` ` yaml
173+ privileged: true
174+
175+ extra_hosts:
176+ - "gateway.docker.internal:host-gateway"
177+ ` ` `
171178
172179If you can't use Docker Compose, you can run the container with something similar to this :
173180
You can’t perform that action at this time.
0 commit comments