Product Features
...
Images
Download an Image

Create a Docker Image to Deploy to Your Private Repository

2min
you must configure docker before you can configure a custom marketplace in litmus edge the following example uses python as the installed application before you begin before you complete the steps below, make sure you do the following verify the docker image is on the same network as the litmus edge device install python and ubuntu create a docker image to create a docker image create a project directory named python webserver under the " /" directory create a dockerfile with the following content from ubuntu run apt get update run apt get y install python run apt get clean expose 8000 cmd \[ "python", " m", "simplehttpserver" ] build the docker image $ /python webserver> docker build t python webserver create a docker repository in docker hub ( https //hub docker com https //hub docker com/ ) with the name \<your username>/python webserver push the python webserver image to the docker hub $ /python webserver> docker login — username=yourhubusername $ /python webserver> docker tag python webserver \<your username>/python webserver $ /python webserver> docker push \<your username>/python webserver you can now pull this image into a private repository