Hi all,
- I left boot2docker until I have a full working SME-9 image.
- I created a new SME-9 with VirtualBox.
- I Updated SME-9.
- I installed Docker according to:
http://wiki.contribs.org/Docker Docker status: running... Reboot and still running. All looked OK.
- Then I started making the image according to:
http://wiki.contribs.org/Docker_design_concept#Create_a_SME_docker_Base_image- I run "/root/docker_images sme9".
- I received the following error, then the script stopped and returned to the console.
+ docker run -i -t sme9:sme9 echo success
FATA[0001] Error response from daemon: Cannot start container 9ea6ac769afb197c463b5c2ec375f469c90ce3d9943be5d5b0606ce65e914aa0: exec: "echo": executable file not found in $PATH
- With "docker images" I see an image "sme9:sme9" with the name I gave when I run "/root/docker_images sme9".
- With Google, I found the same error but with "container containing static HTML files";
http://stackoverflow.com/questions/27816232/docker-running-a-data-container-from-scratch- I can not see the relation between the 2 errors.
- In the script "/root/docker_images", I commented after: ###here we take rpm in the most uptodate version
### yum -c "/root/repo_file" --installroot="$target" --setopt=tsflags=nodocs --setopt=group_package_types=mandatory -y install e-smith\* smeserver\*
- In the script "/root/docker_images", I uncommented after: ###with the line below we take all from smeos, not really uptodate
yum -c "/root/repo_file" --installroot="$target" --setopt=tsflags=nodocs --setopt=group_package_types=mandatory -y install --disablerepo=* --enablerepo=smeos,smeextras e-smith\* smeserver\*
- I run the script again.
- 596 RPMs were downloaded. I took some time to finish...
$ docker images
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
sme_no-update 6.5 d45eefaf2990 2 minutes ago 854.3 MB
$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
e4801fea6ad2 sme_no-update:6.5 "echo success" 2 minutes ago Exited (0) 2 minutes ago elated_franklin
$docker run -i -t d45eefaf2990 bash
bash-4.1# cat /etc/e-smith-release
SME Server release 9.0
bash-4.1#
Victory, now I have a SME-9 image, not a perfect one but a real one.
Thank you so much Hf and Stephdl,
Michel-André