Public Member Functions | |
def | __init__ (self, roscommand, config, dockerfile=None) |
def | build (self) |
def | check_rosdep (self) |
def | logIt (self, logging_fun, it) |
def | make_client (self, ip=None, port=None) |
def | push (self) |
def | replaceDockerfile (self, in_fname, dockerfile_fname) |
def | run (self) |
def | stop (self) |
Public Attributes | |
deb_package | |
docker_client | |
dockerfile | |
dockeros_path | |
image | |
name | |
path | |
registry_string | |
roscommand | |
rospackage | |
tag | |
user_package | |
Remotely deploys a docker container with a user specified image of a rospackage Example: >>> import image >>> obj = image.DockeROSImage(roscommand, config) >>> obj.make_client() >>> obj.build() >>> obj.run()
def dockeros.image.DockeROSImage.__init__ | ( | self, | |
roscommand, | |||
config, | |||
dockerfile = None |
|||
) |
def dockeros.image.DockeROSImage.build | ( | self | ) |
def dockeros.image.DockeROSImage.check_rosdep | ( | self | ) |
def dockeros.image.DockeROSImage.logIt | ( | self, | |
logging_fun, | |||
it | |||
) |
def dockeros.image.DockeROSImage.make_client | ( | self, | |
ip = None , |
|||
port = None |
|||
) |
Initialize a docker client either using local or remote docker deamon. When you give no parameters, the local enviornment is used. So either your local deamon or the one defined in the DOCKER_HOST environment variable.(see https://dockr.ly/2zMPc17 for details) (see https://dockr.ly/2zMPc17 for details) Args: ip: ip or host of the remote deamon (give None to use local environment) port: port of the remote deamon
def dockeros.image.DockeROSImage.push | ( | self | ) |
def dockeros.image.DockeROSImage.replaceDockerfile | ( | self, | |
in_fname, | |||
dockerfile_fname | |||
) |
def dockeros.image.DockeROSImage.run | ( | self | ) |
def dockeros.image.DockeROSImage.stop | ( | self | ) |