ttitcombe / docker_openai_gym Goto Github PK
View Code? Open in Web Editor NEWA Docker image for using openai gym with pytorch
A Docker image for using openai gym with pytorch
Hi!
I'm sorry if this might be a silly question (I'm new to Docker) but what do you mean by
Before entering the python interpreter, a script to attach the graphical display should have been run.
? Can you provide an example, please?
------
> [ 2/11] RUN apt-get update && apt-get install -y --no-install-recommends apt-utils build-essential curl xvfb ffmpeg xorg-dev libsdl2-dev swig cmake python-opengl:
#4 1.042 Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]
#4 1.074 Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB]
#4 1.092 Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
#4 1.150 Get:4 http://deb.debian.org/debian bullseye/main amd64 Packages [8183 kB]
#4 2.145 Get:5 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [236 kB]
#4 2.170 Get:6 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [14.6 kB]
#4 2.945 Fetched 8642 kB in 3s (3333 kB/s)
#4 2.945 Reading package lists...
#4 3.385 Reading package lists...
#4 3.788 Building dependency tree...
#4 3.901 Reading state information...
#4 3.957 E: Unable to locate package python-opengl
------
executor failed running [/bin/sh -c apt-get update && apt-get install -y --no-install-recommends apt-utils build-essential curl xvfb ffmpeg xorg-dev libsdl2-dev swig cmake python-opengl]: exit code: 100
* The terminal process "C:\Windows\System32\cmd.exe /d /c docker build --pull --rm -f "Dockerfile" -t dockeropenaigym:latest "."" terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.
* Executing task: docker build --pull --rm -f "Dockerfile" -t dockeropenaigym:latest "."
[+] Building 7.9s (6/14)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 1.48kB 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/library/python:3 1.7s
=> [ 1/11] FROM docker.io/library/python:3@sha256:2d39b59a1270575ad6bf678d476cec363afdffe8344598affbe149cdbda8c68d 3.2s
=> => resolve docker.io/library/python:3@sha256:2d39b59a1270575ad6bf678d476cec363afdffe8344598affbe149cdbda8c68d 0.0s
=> => sha256:efba3dc3123977d7de7588eda2101e2825866362d1f5ba7df8f3ada26e6ebb60 21.21MB / 21.21MB 2.5s
=> => sha256:70eb3e954fe508868894cc9a4d4231a55c14a0559ad2c43d0656e186128bd57c 3.06MB / 3.06MB 2.0s
=> => sha256:b45fafb4411c70b9f0f3c7a1ed07576b9a14b9a7402010b999e0715780b6818f 233B / 233B 1.0s
=> => sha256:2d39b59a1270575ad6bf678d476cec363afdffe8344598affbe149cdbda8c68d 2.14kB / 2.14kB 0.0s
=> => sha256:48aa548a5ad6542e89c5951bdf82e71b39a40adcf7d1bf9c4fff887faa9cdae8 2.22kB / 2.22kB 0.0s
=> => sha256:33ce0936348718132f28deb3ac78eeaf0a5d34f0e6a1de29bc4e6a695c8ae0cd 8.82kB / 8.82kB 0.0s
=> => extracting sha256:efba3dc3123977d7de7588eda2101e2825866362d1f5ba7df8f3ada26e6ebb60 0.4s
=> => extracting sha256:b45fafb4411c70b9f0f3c7a1ed07576b9a14b9a7402010b999e0715780b6818f 0.0s
=> => extracting sha256:70eb3e954fe508868894cc9a4d4231a55c14a0559ad2c43d0656e186128bd57c 0.1s
=> [internal] load build context 0.0s
=> => transferring context: 110B 0.0s
=> ERROR [ 2/11] RUN apt-get update && apt-get install -y --no-install-recommends apt-utils build-essential curl xvfb ffmpeg xorg-dev libsdl2-dev swig cmake python-opengl 2.9s
------
> [ 2/11] RUN apt-get update && apt-get install -y --no-install-recommends apt-utils build-essential curl xvfb ffmpeg xorg-dev libsdl2-dev swig cmake python-opengl:
#5 0.336 Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]
#5 0.360 Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB]
#5 0.372 Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
#5 0.464 Get:4 http://deb.debian.org/debian bullseye/main amd64 Packages [8183 kB]
#5 1.246 Get:5 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [236 kB]
#5 1.272 Get:6 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [14.6 kB]
#5 2.026 Fetched 8642 kB in 2s (5020 kB/s)
#5 2.026 Reading package lists...
#5 2.369 Reading package lists...
#5 2.699 Building dependency tree...
#5 2.785 Reading state information...
#5 2.842 E: Unable to locate package python-opengl
------
executor failed running [/bin/sh -c apt-get update && apt-get install -y --no-install-recommends apt-utils build-essential curl xvfb ffmpeg xorg-dev libsdl2-dev swig cmake python-opengl]: exit code: 100
* The terminal process "C:\Windows\System32\cmd.exe /d /c docker build --pull --rm -f "Dockerfile" -t dockeropenaigym:latest "."" terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it. ```
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.