Changeset 1980 in ProjectBuilder for devel/pb-doc/pb-demo


Ignore:
Timestamp:
Jul 22, 2015, 7:42:23 PM (9 years ago)
Author:
Bruno Cornec
Message:

Review demo script for RMLL demo

File:
1 edited

Legend:

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

    r1968 r1980  
    5555
    5656# Docker part
     57# Mount the external HDD if needed
     58sudo mount /dev/sdc1 /mnt
     59sudo mount -o bind /mnt/docker /var/cache/docker
     60# Then restart docker to avoid errors with Attempt to write a readonly database
     61sudo systemctl restart docker
     62sudo systemctl restart docker_registry
    5763# Now show how easy it's to build for another distro in a Docker VE
    5864# Create Docker container
    5965docker images
     66
     67# Building with rpmbootstrap for a distro
     68# That one has already been done to save time during demo
    6069#pb -p pb -m mageia-4-x86_64 -T docker newve
     70# But we can launch in // the same for mga5
     71#pb -p pb -m mageia-5-x86_64 -T docker newve
    6172docker images
    6273docker run -ti <imgid> /bin/bash
     
    7586#
    7687# On another distro already preped
     88# Another container Ubuntu 13.10
    7789pb -p pb -m ubuntu-13.10-x86_64 -T docker build2ve
    7890ls -al /var/ftp/pub/pb/test/ubuntu/13.10
     
    89101docker history localhost:5000/pb:mageia-4-x86_64-pb-pb
    90102
    91 # Another container Ubuntu 13.10
    92 #
    93 # If docker issue withnet, restart docker
     103# From an upstream image instead of using ours.
     104pb -p pb -m mageia-5-x86_64 -T docker -i mageia:latest newve
     105
     106# If docker issue with net, restart docker
    94107ip link delete docker0
    95108systemctl restart docker.service
    96109
     110# WIth VMs
    97111# Now  show how easy it's to build for another project for which I'm upstream
    98112-> pb -p mondorescue -m debian-6.0-x86_64 sbx2ve
Note: See TracChangeset for help on using the changeset viewer.