Changeset 1960


Ignore:
Timestamp:
Apr 18, 2015, 5:17:24 PM (5 years ago)
Author:
bruno
Message:
  • Adds more docker demo script
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb-doc/pb-demo

    r1942 r1960  
    5454ls -al /var/ftp/pub/pb/test/debian/dists/6.0/
    5555
     56# Docker part
    5657# Now show how easy it's to build for another distro in a Docker VE
    5758# Create Docker container
     
    6263$ urpmi tar
    6364pb -p pb -m mageia-4-x86_64  -T docker sbx2setupve
     65docker ps -a
     66docker attach <ctnid>
    6467docker images
    6568docker run -ti <imgid> /bin/bash
     
    7073pb -p pb -m mageia-4-x86_64  -T docker sbx2ve
    7174ls -al /var/ftp/pub/pb/test/mageia/4/x86_64
     75#
     76# On another distro already preped
     77pb -p pb -m ubuntu-13.10-x86_64 -T docker build2ve
     78ls -al /var/ftp/pub/pb/test/ubuntu/13.10
     79
    7280# On another project
    7381pb -p mondorescue -m mageia-4-x86_64  -T docker prepve
     
    7684ssh bruno@www.mondorescue.org ls -altrg /prj/ftp/test/mageia/4/x86_64
    7785
     86
    7887# Look at what was created
    7988docker images
    8089docker history localhost:5000/pb:mageia-4-x86_64-pb-pb
     90
     91# Another container Ubuntu 13.10
     92#
     93# If docker issue withnet, restart docker
     94ip link delete docker0
     95systemctl restart docker.service
    8196
    8297# Now  show how easy it's to build for another project for which I'm upstream
Note: See TracChangeset for help on using the changeset viewer.