bhaskarvk / docker Goto Github PK
View Code? Open in Web Editor NEWR Package For Accessing Docker via Docker APIs
Home Page: https://bhaskarvk.github.io/docker/
License: Other
R Package For Accessing Docker via Docker APIs
Home Page: https://bhaskarvk.github.io/docker/
License: Other
I am using windows 7, cmd line. I installed python 3 through Anaconda. When I type:
python -c 'import docker; print(docker.from_env().version())'
I got an error:
C:\Users\msagovac>python -c "import docker; print(docker.from_env().version())"
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\msagovac\AppData\Local\Continuum\anaconda3\lib\site-packages\do
cker\client.py", line 186, in version
return self.api.version(*args, **kwargs)
File "C:\Users\msagovac\AppData\Local\Continuum\anaconda3\lib\site-packages\do
cker\api\daemon.py", line 179, in version
return self._result(self._get(url), json=True)
File "C:\Users\msagovac\AppData\Local\Continuum\anaconda3\lib\site-packages\do
cker\utils\decorators.py", line 46, in inner
return f(self, *args, **kwargs)
File "C:\Users\msagovac\AppData\Local\Continuum\anaconda3\lib\site-packages\do
cker\api\client.py", line 194, in _get
return self.get(url, **self._set_request_timeout(kwargs))
File "C:\Users\msagovac\AppData\Local\Continuum\anaconda3\lib\site-packages\re
quests\sessions.py", line 521, in get
return self.request('GET', url, **kwargs)
File "C:\Users\msagovac\AppData\Local\Continuum\anaconda3\lib\site-packages\re
quests\sessions.py", line 508, in request
resp = self.send(prep, **send_kwargs)
File "C:\Users\msagovac\AppData\Local\Continuum\anaconda3\lib\site-packages\re
quests\sessions.py", line 618, in send
r = adapter.send(request, **kwargs)
File "C:\Users\msagovac\AppData\Local\Continuum\anaconda3\lib\site-packages\re
quests\adapters.py", line 440, in send
timeout=timeout
File "C:\Users\msagovac\AppData\Local\Continuum\anaconda3\lib\site-packages\ur
llib3\connectionpool.py", line 601, in urlopen
chunked=chunked)
File "C:\Users\msagovac\AppData\Local\Continuum\anaconda3\lib\site-packages\ur
llib3\connectionpool.py", line 357, in _make_request
conn.request(method, url, **httplib_request_kw)
File "C:\Users\msagovac\AppData\Local\Continuum\anaconda3\lib\http\client.py",
line 1239, in request
self._send_request(method, url, body, headers, encode_chunked)
File "C:\Users\msagovac\AppData\Local\Continuum\anaconda3\lib\http\client.py",
line 1285, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "C:\Users\msagovac\AppData\Local\Continuum\anaconda3\lib\http\client.py",
line 1234, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "C:\Users\msagovac\AppData\Local\Continuum\anaconda3\lib\http\client.py",
line 1026, in _send_output
self.send(msg)
File "C:\Users\msagovac\AppData\Local\Continuum\anaconda3\lib\http\client.py",
line 964, in send
self.connect()
File "C:\Users\msagovac\AppData\Local\Continuum\anaconda3\lib\site-packages\do
cker\transport\npipeconn.py", line 31, in connect
sock.connect(self.npipe_path)
File "C:\Users\msagovac\AppData\Local\Continuum\anaconda3\lib\site-packages\do
cker\transport\npipesocket.py", line 22, in wrapped
return f(self, *args, **kwargs)
File "C:\Users\msagovac\AppData\Local\Continuum\anaconda3\lib\site-packages\do
cker\transport\npipesocket.py", line 50, in connect
win32pipe.WaitNamedPipe(address, self._timeout)
pywintypes.error: (2, 'WaitNamedPipe', 'The system cannot find the file specifie
d.')
will require win. server docker images to test.
I have upgraded my R to version 4.0.0. Unfortunately, this package is not compatibly with the latest version of R and Rtools:
> install.packages('docker')
WARNING: Rtools isrequired to build R packages but isnot currently installed. Please download and install the appropriate version of Rtools before proceeding:
https://cran.rstudio.com/bin/windows/Rtools/
Installing package into ‘C:/Users/Mislav/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘docker’ is not available (for R version 4.0.0)
Is it possible to upgrade requirements to R 4.0 and latest RTools?
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.