Skip to content

yeoldegrove/dind-sle2docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dind-sle2docker

This is a set of patches to build a SLE docker image.

This can be used on any machine running docker. No suse distribution is needed.

This can be accomplished, because we can run dind (docker in docker).

It is based on https://github.com/jpetazzo/dind

##how to use:

build opensuse image...

./build-sle2docker.sh

...wait until opensuse image is build

start opensuse container to build SLE image...

docker run -t -i --privileged sle2docker sle2docker build -s <repo IP/url> (--disable-https) SLE11SP2|SLE11SP3|SLE12

...wait until SLES image is build

copy buils SLE image to "real" docker host...

docker cp 'containerID':/tmp/sle2docker*/result/*.tbz 'wherever you want'

import docker image on "real" docker host...

docker import - 'imagename' <file.tbz

start docker SLE container...

docker run -t -i 'imagename' bash

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages