User Tools

Site Tools


containers_docker:specs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
containers_docker:specs [2025/07/15 06:46] kirtisinghcontainers_docker:specs [2025/07/15 08:14] (current) kirtisingh
Line 35: Line 35:
   * **image_file_path** - optional - If this attribute is not provided, the system will try to pull the image from the Docker Hub. But when it is provided, it will try to load image(s) from the specified file.   * **image_file_path** - optional - If this attribute is not provided, the system will try to pull the image from the Docker Hub. But when it is provided, it will try to load image(s) from the specified file.
   * **container_entry_point** - conditional - If provided, will be used as the entry point in Docker's YAML file   * **container_entry_point** - conditional - If provided, will be used as the entry point in Docker's YAML file
-  * **container_cmd** - conditional - If provided, will be used as the command in Docker's YAML file. **Important : ** Either container_entry_point or container_cmd have to be provided. +  * **container_cmd** - conditional - If provided, will be used as the command in Docker's YAML file.\\ **Important : ** Either container_entry_point or container_cmd have to be provided. For a detailed reference, please follow this link - https://www.docker.com/blog/docker-best-practices-choosing-between-run-cmd-and-entrypoint/ . There are two formats to write these instructions - shell and exec. Both have been elaborated in that link. If you are using double quotes in between , you need to escape the same using \" . For. e.g. 
 +<code> 
 +"container_entry_point":"[\"node\", \"/home/cncn99/node_apps/app5/server.js\"]", 
 +</code> 
 +  * **container_user** - required - The system user under which the container runs. 
 +  * **container_volumes** - optional - An array of system folders which are made accessible to the container 
 +  * * e.g. the entry of /home/example/fldr1/sub-fld1 will be made accessible to the container as the same path   
 +  * * e.g. the entry of /home/example/fldr1/sub-fld2:/var/nfolder will make the folder /home/example/fldr1/sub-fld2 accessible as /var/nfolder to the container 
 +  * **container_port** - optional - The port within the container on which your application runs  
 +  * **vhost** - conditional - Associated VHost/Website which should be linked to container through the vhost_url at one end and container_port on the other end. 
 +  * **vhost_url** - conditional - If vhost is used 
 +  * **open_port** - optional - The port via which the container will be accessible to the world. If this attribute is present , then container_port is also required. 
  
containers_docker/specs.1752561974.txt.gz · Last modified: 2025/07/15 06:46 by kirtisingh

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki