Changeset 1980 in ProjectBuilder for devel/pb-doc
- Timestamp:
- Jul 22, 2015, 7:42:23 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb-doc/pb-demo
r1968 r1980 55 55 56 56 # Docker part 57 # Mount the external HDD if needed 58 sudo mount /dev/sdc1 /mnt 59 sudo mount -o bind /mnt/docker /var/cache/docker 60 # Then restart docker to avoid errors with Attempt to write a readonly database 61 sudo systemctl restart docker 62 sudo systemctl restart docker_registry 57 63 # Now show how easy it's to build for another distro in a Docker VE 58 64 # Create Docker container 59 65 docker images 66 67 # Building with rpmbootstrap for a distro 68 # That one has already been done to save time during demo 60 69 #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 61 72 docker images 62 73 docker run -ti <imgid> /bin/bash … … 75 86 # 76 87 # On another distro already preped 88 # Another container Ubuntu 13.10 77 89 pb -p pb -m ubuntu-13.10-x86_64 -T docker build2ve 78 90 ls -al /var/ftp/pub/pb/test/ubuntu/13.10 … … 89 101 docker history localhost:5000/pb:mageia-4-x86_64-pb-pb 90 102 91 # Another container Ubuntu 13.10 92 # 93 # If docker issue withnet, restart docker 103 # From an upstream image instead of using ours. 104 pb -p pb -m mageia-5-x86_64 -T docker -i mageia:latest newve 105 106 # If docker issue with net, restart docker 94 107 ip link delete docker0 95 108 systemctl restart docker.service 96 109 110 # WIth VMs 97 111 # Now show how easy it's to build for another project for which I'm upstream 98 112 -> pb -p mondorescue -m debian-6.0-x86_64 sbx2ve
Note:
See TracChangeset
for help on using the changeset viewer.