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,
|
||||
dockerfile="",
|
||||
fileobj=None,
|
||||
path="",
|
||||
path=""
|
||||
):
|
||||
return self._apiclient.build(
|
||||
buildargs=buildargs,
|
||||
|
@ -96,7 +96,7 @@ class DockerEngine(ContainerEngine):
|
|||
ports=None,
|
||||
publish_all_ports=False,
|
||||
remove=False,
|
||||
volumes=None,
|
||||
volumes=None
|
||||
):
|
||||
container = self._client.containers.run(
|
||||
image_spec,
|
||||
|
|
|
@ -107,7 +107,7 @@ class ContainerEngine(ABC):
|
|||
# decode=False,
|
||||
dockerfile="",
|
||||
fileobj=None,
|
||||
path="",
|
||||
path=""
|
||||
):
|
||||
"""
|
||||
Build a container
|
||||
|
@ -199,7 +199,7 @@ class ContainerEngine(ABC):
|
|||
ports={},
|
||||
publish_all_ports=False,
|
||||
remove=False,
|
||||
volumes={},
|
||||
volumes={}
|
||||
):
|
||||
"""
|
||||
Run a container
|
||||
|
|
Ładowanie…
Reference in New Issue