kopia lustrzana https://github.com/jupyterhub/repo2docker
Python 3.5: can't have trailing , in function arg list
rodzic
c521c3c950
commit
b6bead74cd
|
@ -61,7 +61,7 @@ class DockerEngine(ContainerEngine):
|
||||||
# decode=False,
|
# decode=False,
|
||||||
dockerfile="",
|
dockerfile="",
|
||||||
fileobj=None,
|
fileobj=None,
|
||||||
path="",
|
path=""
|
||||||
):
|
):
|
||||||
return self._apiclient.build(
|
return self._apiclient.build(
|
||||||
buildargs=buildargs,
|
buildargs=buildargs,
|
||||||
|
@ -96,7 +96,7 @@ class DockerEngine(ContainerEngine):
|
||||||
ports=None,
|
ports=None,
|
||||||
publish_all_ports=False,
|
publish_all_ports=False,
|
||||||
remove=False,
|
remove=False,
|
||||||
volumes=None,
|
volumes=None
|
||||||
):
|
):
|
||||||
container = self._client.containers.run(
|
container = self._client.containers.run(
|
||||||
image_spec,
|
image_spec,
|
||||||
|
|
|
@ -107,7 +107,7 @@ class ContainerEngine(ABC):
|
||||||
# decode=False,
|
# decode=False,
|
||||||
dockerfile="",
|
dockerfile="",
|
||||||
fileobj=None,
|
fileobj=None,
|
||||||
path="",
|
path=""
|
||||||
):
|
):
|
||||||
"""
|
"""
|
||||||
Build a container
|
Build a container
|
||||||
|
@ -199,7 +199,7 @@ class ContainerEngine(ABC):
|
||||||
ports={},
|
ports={},
|
||||||
publish_all_ports=False,
|
publish_all_ports=False,
|
||||||
remove=False,
|
remove=False,
|
||||||
volumes={},
|
volumes={}
|
||||||
):
|
):
|
||||||
"""
|
"""
|
||||||
Run a container
|
Run a container
|
||||||
|
|
Ładowanie…
Reference in New Issue