Home Home > 2014 > 06 > 16
Sign up | Login

Deprecation notice: openSUSE Lizards user blog platform is deprecated, and will remain read only for the time being. Learn more...

Archive for June 16th, 2014

Using docker 1.0 on openSUSE 13.1

June 16th, 2014 by

There is quite some buzz around docker and no one can avoid to read about it. So I wanted to try it out. Since version 1.0 is now out some things got even smoother it seems.
Here is the short version of the commands:

  1. Add the Virtualization repository
    zypper ar http://download.opensuse.org/repositories/Virtualization/openSUSE_13.1 docker
    zypper ref
  2. Install docker
    zypper in docker
  3. Start the docker service
    systemctl start docker
  4. Then for example search for openSUSE based containers in the docker registry
    docker search opensuse

    This should provide the same list as using this web page:

    https://registry.hub.docker.com/

  5. For now we are going to download and use Flavio Castelli’s 12.3 container by first pulling it
    docker pull flavio/opensuse-12-3

    Depending on your connection that may take some time or finish quite quickly with output looking like this:

    # docker pull flavio/opensuse-12-3
     Pulling repository flavio/opensuse-12-3
     7b4864b5c142: Download complete
     3ac0450b90b3: Download complete
  6. If that worked well, you are ready to use that container. For example check what RPM’s are installed by simply issuing
     docker run flavio/opensuse-12-3 rpm -qa

Now you are ready to pull and use containers. If you want to build your own containers the following blog post by Flavio Castelli might be of interest to you:

http://flavio.castelli.name/2014/05/06/building-docker-containers-with-kiwi/

GNOME 3.12 classic on openSUSE 13.1

June 16th, 2014 by
GNOME 3.12 classic running on openSUSE 13.1

GNOME 3.12 classic running on openSUSE 13.1

Just in case gnome does not open in the classic mode after selecting it as session from display manager, then edit /usr/share/applications/gnome-shell-classic.desktop and change the Exec line to read Exec=/usr/bin/gnome-shell --mode=classic

You can also switch to classic mode from within the running gnome session by doing Alt+F2 > gnome-shell -r --mode=classic