Run this to get your DNS server that your vm is using.
$ nmcli dev show | grep DNS
edit /etc/docker/daemon.json
and replace the 10.0.0.2
with the dns found.
from itertools import chain | |
from enum import Enum | |
class BitMaskEnum(object): | |
def __init__(self, base_enum, iterable=None, value=None): | |
if not isinstance(base_enum, Enum): | |
raise TypeError('base_enum {!r} is not derived from {!r}'.format(base_enum, Enum)) | |
self._base = base_enum | |
if iterable is not None: |
FROM jupyter/demo | |
USER root | |
EXPOSE 6000 6001 6002 6003 6004 |
Run this to get your DNS server that your vm is using.
$ nmcli dev show | grep DNS
edit /etc/docker/daemon.json
and replace the 10.0.0.2
with the dns found.
This is a test gist for public binderhub gists
418 function calls in 0.006 seconds | |
Ordered by: cumulative time | |
ncalls tottime percall cumtime percall filename:lineno(function) | |
1 0.000 0.000 0.006 0.006 /Users/mvanniekerk/src/dask/s3fs/s3fs/core.py:777(copy) | |
1 0.000 0.000 0.006 0.006 /Users/mvanniekerk/src/dask/s3fs/s3fs/core.py:757(copy_managed) | |
1 0.000 0.000 0.006 0.006 /Users/mvanniekerk/miniconda3/envs/s3fs/lib/python3.6/site-packages/boto3/s3/inject.py:209(copy) | |
14 0.005 0.000 0.005 0.000 {method 'acquire' of '_thread.lock' objects} | |
2 0.000 0.000 0.005 0.002 /Users/mvanniekerk/miniconda3/envs/s3fs/lib/python3.6/threading.py:533(wait) |
docker run --memory 128mb \ | |
-v /var/lib/lxcfs/proc/meminfo:/proc/meminfo:rprivate \ | |
--cpus 1 \ | |
-v /var/lib/lxcfs/proc/cpuinfo:/proc/cpuinfo:rprivate \ | |
-it \ | |
ubuntu | |
I hereby claim:
To claim this, I am signing this object: