https://jenkins.io/doc/book/blueocean/getting-started/ and here the Docker installation instructions https://jenkins.io/doc/book/installing/#docker
Here all the Docker images https://hub.docker.com/r/jenkinsci/blueocean/tags/
Then I run this:
( http://devdocs.io/docker~1.12/engine/reference/commandline/run/index I am using Docker 1.12 )
docker run -u root -d -p 8080:8080 -p 50000:50000 -v jenkins-data:/var/jenkins_home -v /var/run/docker.sock:/var/run/docker.sock jenkinsci/blueocean
port 50000 is needed only if you plan to use slave build agents
(I had to remove --rm otherwise I get Conflicting options: --rm and -d )
docker ps gives you the containerid -> docker exec -ti 03e820715e74 bash
cat /var/jenkins_home/secrets/initialAdminPassword
copy and paste in localhost:8080 to unlock Jenkins
https://jenkins.io/doc/book/installing/#docker
Wednesday, January 10, 2018
Saturday, January 6, 2018
Google maps Java API
The Google MAPS main page is here https://developers.google.com/maps/
Entry point for Java API is: https://googlemaps.github.io/google-maps-services-java/v0.2.5/javadoc/com/google/maps/GeoApiContext.html
The GIT repo is https://github.com/googlemaps/google-maps-services-java
Nice presentation, but tutorial link is broken
https://developers.google.com/maps/documentation/javascript/adding-a-google-map
Essential: KML specifications https://developers.google.com/kml/documentation/kml_tut
Entry point for Java API is: https://googlemaps.github.io/google-maps-services-java/v0.2.5/javadoc/com/google/maps/GeoApiContext.html
The GIT repo is https://github.com/googlemaps/google-maps-services-java
Nice presentation, but tutorial link is broken
https://developers.google.com/maps/documentation/javascript/adding-a-google-map
Essential: KML specifications https://developers.google.com/kml/documentation/kml_tut
Labels:
googlemaps
Witches' Sabbath with yum install and docker
After a major CentOS update, when I "oc cluster up" I get this:
Error: Minor number must not contain leading zeroes "01"
the usual "docker version mismatch" issue (go to hell OpenShift)
So I "yum install docker" and I get this:
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.spreitzer.ch
* epel: ftp.nluug.nl
* extras: mirror.spreitzer.ch
* ius: mirror.amsiohosting.net
* updates: mirror.spreitzer.ch
Resolving Dependencies
--> Running transaction check
---> Package docker.x86_64 2:1.12.6-68.gitec8512b.el7.centos will be installed
--> Processing Dependency: docker-common = 2:1.12.6-68.gitec8512b.el7.centos for package: 2:docker-1.12.6-68.gitec8512b.el7.centos.x86_64
--> Processing Dependency: docker-client = 2:1.12.6-68.gitec8512b.el7.centos for package: 2:docker-1.12.6-68.gitec8512b.el7.centos.x86_64
--> Running transaction check
---> Package docker-client.x86_64 2:1.12.6-68.gitec8512b.el7.centos will be installed
---> Package docker-common.x86_64 2:1.12.6-68.gitec8512b.el7.centos will be installed
--> Processing Conflict: docker-ce-18.01.0.ce-0.1.rc1.el7.centos.x86_64 conflicts docker
--> Processing Conflict: docker-ce-18.01.0.ce-0.1.rc1.el7.centos.x86_64 conflicts docker-io
--> Finished Dependency Resolution
Error: docker-ce conflicts with 2:docker-1.12.6-68.gitec8512b.el7.centos.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
I try "yum install docker --skip-broken" but I still get
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.spreitzer.ch
* epel: ftp.nluug.nl
* extras: mirror.spreitzer.ch
* ius: mirror.amsiohosting.net
* updates: mirror.spreitzer.ch
Resolving Dependencies
--> Running transaction check
---> Package docker.x86_64 2:1.12.6-68.gitec8512b.el7.centos will be installed
--> Processing Dependency: docker-common = 2:1.12.6-68.gitec8512b.el7.centos for package: 2:docker-1.12.6-68.gitec8512b.el7.centos.x86_64
--> Processing Dependency: docker-client = 2:1.12.6-68.gitec8512b.el7.centos for package: 2:docker-1.12.6-68.gitec8512b.el7.centos.x86_64
--> Running transaction check
---> Package docker-client.x86_64 2:1.12.6-68.gitec8512b.el7.centos will be installed
---> Package docker-common.x86_64 2:1.12.6-68.gitec8512b.el7.centos will be installed
--> Processing Conflict: docker-ce-18.01.0.ce-0.1.rc1.el7.centos.x86_64 conflicts docker
--> Processing Conflict: docker-ce-18.01.0.ce-0.1.rc1.el7.centos.x86_64 conflicts docker-io
extras/7/x86_64/filelists_db | 528 kB 00:00:00
Packages skipped because of dependency problems:
2:docker-1.12.6-68.gitec8512b.el7.centos.x86_64 from extras
2:docker-client-1.12.6-68.gitec8512b.el7.centos.x86_64 from extras
2:docker-common-1.12.6-68.gitec8512b.el7.centos.x86_64 from extras
Then I do yum list installed | grep docker
docker-ce.x86_64 18.01.0.ce-0.1.rc1.el7.centos @docker-ce-test
then "yum remove docker-ce.x86_64" and "yum install docker"
Installed:
docker.x86_64 2:1.12.6-68.gitec8512b.el7.centos
Dependency Installed:
docker-client.x86_64 2:1.12.6-68.gitec8512b.el7.centos docker-common.x86_64 2:1.12.6-68.gitec8512b.el7.centos
and everything works again.
I used to love Docker, but since it was split in CE and EE they messed really hard. Too much greed for money and need to place expensive consultants.
List of useful yum commands: https://www.thegeekstuff.com/2011/08/yum-command-examples/
yum install bla
yum -y install bla
yum remove bla
yum update bla
yum search bla
yum info bla
yum list
yum list installed
#this to find which package a file belongs to
yum provides filename
yum grouplist
yum groupinstall 'bla'
yum groupupdate 'bla'
yum groupremove 'bla'
yum repolist
yum repolist all
yum --enablerepo=fedora-source install vim-X11.x86_64
Error: Minor number must not contain leading zeroes "01"
the usual "docker version mismatch" issue (go to hell OpenShift)
So I "yum install docker" and I get this:
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.spreitzer.ch
* epel: ftp.nluug.nl
* extras: mirror.spreitzer.ch
* ius: mirror.amsiohosting.net
* updates: mirror.spreitzer.ch
Resolving Dependencies
--> Running transaction check
---> Package docker.x86_64 2:1.12.6-68.gitec8512b.el7.centos will be installed
--> Processing Dependency: docker-common = 2:1.12.6-68.gitec8512b.el7.centos for package: 2:docker-1.12.6-68.gitec8512b.el7.centos.x86_64
--> Processing Dependency: docker-client = 2:1.12.6-68.gitec8512b.el7.centos for package: 2:docker-1.12.6-68.gitec8512b.el7.centos.x86_64
--> Running transaction check
---> Package docker-client.x86_64 2:1.12.6-68.gitec8512b.el7.centos will be installed
---> Package docker-common.x86_64 2:1.12.6-68.gitec8512b.el7.centos will be installed
--> Processing Conflict: docker-ce-18.01.0.ce-0.1.rc1.el7.centos.x86_64 conflicts docker
--> Processing Conflict: docker-ce-18.01.0.ce-0.1.rc1.el7.centos.x86_64 conflicts docker-io
--> Finished Dependency Resolution
Error: docker-ce conflicts with 2:docker-1.12.6-68.gitec8512b.el7.centos.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
I try "yum install docker --skip-broken" but I still get
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.spreitzer.ch
* epel: ftp.nluug.nl
* extras: mirror.spreitzer.ch
* ius: mirror.amsiohosting.net
* updates: mirror.spreitzer.ch
Resolving Dependencies
--> Running transaction check
---> Package docker.x86_64 2:1.12.6-68.gitec8512b.el7.centos will be installed
--> Processing Dependency: docker-common = 2:1.12.6-68.gitec8512b.el7.centos for package: 2:docker-1.12.6-68.gitec8512b.el7.centos.x86_64
--> Processing Dependency: docker-client = 2:1.12.6-68.gitec8512b.el7.centos for package: 2:docker-1.12.6-68.gitec8512b.el7.centos.x86_64
--> Running transaction check
---> Package docker-client.x86_64 2:1.12.6-68.gitec8512b.el7.centos will be installed
---> Package docker-common.x86_64 2:1.12.6-68.gitec8512b.el7.centos will be installed
--> Processing Conflict: docker-ce-18.01.0.ce-0.1.rc1.el7.centos.x86_64 conflicts docker
--> Processing Conflict: docker-ce-18.01.0.ce-0.1.rc1.el7.centos.x86_64 conflicts docker-io
extras/7/x86_64/filelists_db | 528 kB 00:00:00
Packages skipped because of dependency problems:
2:docker-1.12.6-68.gitec8512b.el7.centos.x86_64 from extras
2:docker-client-1.12.6-68.gitec8512b.el7.centos.x86_64 from extras
2:docker-common-1.12.6-68.gitec8512b.el7.centos.x86_64 from extras
Then I do yum list installed | grep docker
docker-ce.x86_64 18.01.0.ce-0.1.rc1.el7.centos @docker-ce-test
then "yum remove docker-ce.x86_64" and "yum install docker"
Installed:
docker.x86_64 2:1.12.6-68.gitec8512b.el7.centos
Dependency Installed:
docker-client.x86_64 2:1.12.6-68.gitec8512b.el7.centos docker-common.x86_64 2:1.12.6-68.gitec8512b.el7.centos
and everything works again.
I used to love Docker, but since it was split in CE and EE they messed really hard. Too much greed for money and need to place expensive consultants.
List of useful yum commands: https://www.thegeekstuff.com/2011/08/yum-command-examples/
yum install bla
yum -y install bla
yum remove bla
yum update bla
yum search bla
yum info bla
yum list
yum list installed
#this to find which package a file belongs to
yum provides filename
yum grouplist
yum groupinstall 'bla'
yum groupupdate 'bla'
yum groupremove 'bla'
yum repolist
yum repolist all
yum --enablerepo=fedora-source install vim-X11.x86_64
Subscribe to:
Posts (Atom)
