docker
Description
Run a container from a remote image
Parameters
container(required): Desired name of the container (must be the name specified in "pulled" and "built" states, if any)example: my_containerimage(required): Image/repo from which to build this containerexample: namespace/imagetag(optional): Repository tag (default: latest)example: latestusername(optional): Username used to login to repositorypassword(optional): Password used to login to repository (required if username specified)email(optional): Email used to login to repository (required if username specified)count(optional): Specify the number of containers to runcommand(optional): Command to run in the container (if not specified inDockerfile)example (in case of apache server): /usr/bin/apache2 -D FOREGROUNDenvironment(optional): Environment variables for the container (if not specified inDockerfile)example: FOO: barvolumes(optional): List of volumes to attach (if not specified inDockerfile). (specify :ro for read only mode)example: /host/path: /mount/point /host/path: /mount/point/read/only:rodevices(optional): List of devices to attach (if not specified inDockerfile). (specify :rwm to set read, write and mknode rights limitation)example: /dev/sdhost: /dev/sdcontainer /dev/sda: /dev/xvda /dev/xvdf: /dev/xvdf:rmem_limit(optional): Memory size limit (if not specified inDockerfile)example: 512mcpu_shares(optional): CPU shares authorized (if not specified inDockerfile)example: 0-3 example: 0port_bindings(optional): List of ports to expose on host system. Maps containers port/protocol to host listening ip:portnote: If the count parameter is specified, the host port will be incremented by one on each. example: 5000/tcp: 127.0.0.1:5000 6000/tcp: 6000 (default ip: 0.0.0.0) 80: 6666 (default protocol: tcp)force(optional): Force (re)build container on each roundnote: Use this option if you edit any other parameter. Don't forget to disable it once a round has succeed.files(optional): list of persistent filesexample: /etc/nginx/nginx.conf : *content* /etc/my.cnf : *content*