Changes

From SME Server
Jump to navigationJump to search
48 bytes added ,  16:53, 9 September 2014
m
no edit summary
Line 23: Line 23:  
* Time based service e.g. cron jobs. Only have an application running when you need it.
 
* Time based service e.g. cron jobs. Only have an application running when you need it.
 
* Keep SME Server's stock stability, security and flexibility, yet run exotic applications
 
* Keep SME Server's stock stability, security and flexibility, yet run exotic applications
Why the SME Server version in the naming convention if it's all inside the container? Well, it could well be that the application inside the container will use some of SME Server specifics such as the db, templates or perl interaction. In that case we need to make sure that we know for which SME Server the image was build.
        Line 39: Line 38:  
  sharedfolders-2.1.1-smeserver-9.0-fws
 
  sharedfolders-2.1.1-smeserver-9.0-fws
 
  frontaccounting-3.2.1-smeserver-8.1-contribsorg
 
  frontaccounting-3.2.1-smeserver-8.1-contribsorg
 +
Why the SME Server version in the naming convention if it's all inside the container? Well, it could well be that the application inside the container will use some of SME Server specifics such as the db, templates or perl interaction. In that case we need to make sure that we know for which SME Server the image was build.
 +
 +
 
* Verification (checksum) of available images
 
* Verification (checksum) of available images
 
* Setting up trusted docker repo's
 
* Setting up trusted docker repo's
Line 75: Line 77:     
* Note: See if we can change this default location in another way, config file?
 
* Note: See if we can change this default location in another way, config file?
 +
    
===Downloading a docker image===
 
===Downloading a docker image===
Line 87: Line 90:  
===Running a docker container===
 
===Running a docker container===
 
Now that we have downloaded the centos6 image it's time to give it a spin. To start the cento6 container we can issue the follwoing command:
 
Now that we have downloaded the centos6 image it's time to give it a spin. To start the cento6 container we can issue the follwoing command:
  docker run -t -i centos:centos6 bash
+
  docker run -t -i --net="host" centos:centos6 bash
This will tell docker to run the centos6 container interactiveley from the local centos repo and start bash. After a few seconds you will be presented with the bash prompt inside the centos6 container:
+
This will tell docker to run the centos6 container interactiveley from the local centos repo, use the host network interface and start bash. After a few seconds you will be presented with the bash prompt inside the centos6 container:
 
  bash-4.1#
 
  bash-4.1#
 
and to check if we are really inside the centos6 container we can display the release version:
 
and to check if we are really inside the centos6 container we can display the release version:

Navigation menu