Posts Tagged ‘Docker’

Meet at the Open Source Summit EMEA

2019/08/29

I’m very happy to have been selected once more for the upcoming Open Source Summit Europe in Lyon (YES for the first time in France !!) from the 28th to the 30st of October 2019.

I will only deliver there 1 session this year (which was well attended at the Open Source Summit in San Diego by 25 attendees) :

  • A hands-on lab on Docker which really explain what it means to containerize a web-based app.

And thanks to SUSE’s help, we (HPE) will be able again to replay the Redfish Workshop we gave as well in the Open Source Summit in San Diego. More details will be shared on this next week.

If you happen to be around, as usual feel free to come to my seessions and discuss with me of any topic you’d like, hopefully I’ll be able to bring some ideas in the discussion and make it enjoyable if not useful. So see you soon in Lyon !

Advertisements

Presentations from OSS San Diego

2019/08/23

My work as a speaker is now over for the Open Source Summit San Diego.

You can find the presentations made for the Redfish Workshop I organized there on the Workshop page. If you want a summary, you can try to look at the presentation I made during the event which is now available on slideshare.

Also available, the last version of the Docker Hands-on Lab that I delivered yesterday.

I’ve also been choosen as a speaker for OSS EMEA, so I’ll announce next week what I’ll do there (teasing ;-))

Meet at the Open Source Summit US

2019/05/25

I’m very happy to have been selected once more for the upcoming Open Source Summit US in San Diego from the 21st to the 23rd of August 2019.

I will deliver there 2 sessions this year:

  • One on Docker (a hands-on lab) that I always welcome by attendees as they really understand what it means to containerize afterwards.
  • One on Redfish (a presentation) that will be derived from the one made in Fosdem with extensions from what I shared during TSS.

As I wasn’t able to participate last year due to my health issues, I’m particularly happy to see I’m still considered as a relevant speaker for such a high profile event. Now I need to convince my company that it’s worth the money to send me over there to evangelize around key technologies for HPE, which is less and less easy 😦

If you happen to be around, as usual feel free to come to my seessions and discuss with me of any topic you’d like, hopefully I’ll be able to bring some ideas in the discussion and make it enjoyable if not useful 😉

Venez fêter les 6 ans de Docker

2019/03/19

Mike Bright continue de promouvoir inlassablement les technologies cloud native sur Grenoble et vous propose de venir souffler les 6 bougies de Docker:

https://events.docker.com/events/details/docker-grenoble-presents-docker-birthday-6-how-do-you-docker

J’y parlerai et surtout montrerai mon utilisation de Docker Engine pour packager des logiciels pour Mageia (dont Docker lui-même !), tant la version stable que celle de développement, sans perturber ma machine hôte.

Venez nombreux !

Creating a Mageia armv7hl docker image for Raspberry 3

2019/01/06

Santa Claus has brought a shiny new Raspberry 3B+ to my son for Christmas ! While it came with raspian by default, I didn’t want to change it to Mageia directly even if it’s now available. We wanted to use it as a prod environment for his docker based setup on his laptop. Which is using Mageia 6 and also Mageia containers. So that’s where the fun begins because there is no mageia docker image for armv7hl available and usable on Raspberry. Well, now at least I have one, locally and can document here the way to do it, if you want to reproduce, or you can use mine as well, thanks to the docker hub !

So here are the steps of what I did to obtain mine:

  1. Download the arm reference image for raspberry and uncompress it
  2. Mount it as a loopback mount to access its content
  3. Use the content and QEMU magic to run armv7hl binaries on your x86_64 machine and prepare your environment
  4. Build a chroot on this point containing the minimal set of packages for a Mageia distribution
  5. Create the Docker image out of that file and enjoy using it !

Which means wrt commands:
$ #1

$ cd $HOME/tmp

$ wget http://librepc.homelinux.org/dl/raspi/181217_mga7arm_rpi.img.xz

$ xz -d 181217_mga7arm_rpi.img.xz

$ #2

$ sudo kpartx -a 181217_mga7arm_rpi.img

$ sudo mkdir -p /mnt

$ sudo mount /dev/mapper/loop1p2 /mnt

$ #3

$ sudo urpmi qemu-user-static qemu-system-arm

$ sudo systemctl start systemd-binfmt

$ sudo chroot /mnt

# arch     # isn't it magic !!

# urpmi.update -a

$ #4

# cd /home/pi

# export TARGETDIR=../tmp

# mkdir -p $TARGETDIR

# export MGAARCH=armv7hl

# export MGAVER=6

# /usr/sbin/urpmi.addmedia --distrib --urpmi-root "$TARGETDIR" ftp://ftp.free.fr/mirrors/mageia.org/distrib/$MGAVER/$MGAARCH

# LANG=C LANGUAGE=C /usr/sbin/urpmi --auto --no-recommends --download-all --allow-force --force --force-key --urpmi-root "$TARGETDIR" basesystem urpmi

# export TMPDM=/tmp

# echo 'NETWORKING=yes' > $TMPDM/network

# install -m 0644 $TMPDM/network "$TARGETDIR"/etc/sysconfig/network

# rm -f $TMPDM/network

# rm -rf "$TARGETDIR/dev" "$TARGETDIR/proc"

# install -m 0755 -d "$TARGETDIR/dev" "$TARGETDIR/proc"

# cat > $TMPDM/resolv.conf << EOF
nameserver 8.8.8.8
nameserver 8.8.4.4
EOF

# install -m 0644 $TMPDM/resolv.conf "$TARGETDIR/etc/resolv.conf"

# rm -f $TMPDM/resolv.conf

# export DATE=2019-01-05

# cat > Dockerfile << EOF
FROM scratch
MAINTAINER bcornec@mageia.org
WORKDIR /
ADD mageia-$MGAVER-$MGAARCH-$DATE.tar.xz /
LABEL name="Mageia $MGAVER Base Image Arch: $MGAARCH" \
vendor="Mageia" \
license="GPLv2" \
build-date="$DATE"
CMD /bin/bash
EOF

# tar -C $TARGETDIR -cJf mageia-$MGAVER-$MGAARCH-$DATE.tar.xz .

# chmod 644 Dockerfile mageia-$MGAVER-$MGAARCH-$DATE.tar.xz

$ #5

$ ssh pi@raspberry mkdir docker

$ scp /mnt/home/pi/Dockerfile /mnt/home/pi/mageia-6-armv7hl-*.tar.xz pi@raspberry:docker

$ ssh pi@raspberry

pi$ sudo urpmi docker

pi$ cd docker

pi$ docker build -t mageiaofficial:6-armv7hl .

pi$ docker images
REPOSITORY    TAG            IMAGE ID             CREATED        SIZE
mageiaofficial    6-armv7hl 9b5880971b45    9 seconds ago 386 MB

pi$ docker run -ti mageiaofficial:6-armv7hl /bin/bash
[root@33a7bb3763b5 /]# urpmi tcsh

ftp://ftp.free.fr/mirrors/mageia.org/distrib/6/armv7hl/media/core/release/tcsh-6.19.00-5.mga6.armv7hl.rpm
installing tcsh-6.19.00-5.mga6.armv7hl.rpm from /var/cache/urpmi/rpms
Preparing... #############################################
1/1: tcsh #############################################
[root@33a7bb3763b5 /]# exit

Voilà !!

 

So now on your raspberry, it’s for you as simple as:

docker pull bcornec/mageia:6-armv7hl

Will soon provide a cauldron one as well 🙂

Meet at DockerCon Europe

2017/10/12

This is a late announce, as I wasn’t sure to be able to attend the event, but now everything is on track and I’ll be at DockerCon Europe next week ! One of my proposals has been selected as a 20′ session in the Community Theater and I’m glad as this is the first time I can participate to DockerCon. Project-Builder.org is using Docker since September 2014, so I’ll be able to celebrate the 3 years of Docker usage in pb after the 10 years of pb itself 😉 More seriously my goal is to promote again Continuous Packaging and demonstrate how beneficial it has been to introduce Docker in the chain, and how my upstream projects, as well as FOSSology are benefiting from it. Come to see that !

Of course, HPE is a platinum sponsor of the event so if you’re one of our customers, I’d also be happy to talk with you around your Docker projects as HPE is sponsoring my travel there ! (Thanks to the management to support again this despite hard times for travel requests and the HPE Next plan). Maybe I’ll still have a job when I’m back … or not 😉 Anyway, will see later as I’m now busy preparing my slides and demo for DockerCon among other stuff. See you there !

Meet at the Open Source Summit NA 2017

2017/06/26

Despite difficult times for HPE, I’m still supported by my management to continue to represent HPE during tier 1 Open Source events such as the Open Source Summit North America, held in Los Angeles from the 11th to the 14th of September. Well, of course, because I was accepted as a speaker again !

I’ll lead a round table to cover with panelists whether “Containers are the future of IaaS ?

So as usual, if you are around, I’ll happy to discuss with you around Open Source in general, and the projects I’m involved with in particular such as MondoRescue (yes, there will be a new version soon, now remains to see the definition of soon), project-builder.org (same thing), Redfish, containers, early music or more.

Meet at the RMLL 2017

2017/06/07

This year the RMLL are coming back, from the 1st to the 7th of July and in my region, in St Etienne ! And this year, I am not only a speaker, but also a co-track leader for the Server track.

With my talks, You’ll be able to learn about the latest news for MondoRescue, project-builder.org, Docker, Redfish and python-redfish, Mageia and much more from my co-speakers (Ethereum, CMS, Cloud Native app, Unikernels, …) and even more from Keynote speakers as well.

Lodging is now available, so book quickly and let meet us there !

Time to Meet at Hewlett Packard Enterprise Technology & Solutions Summit 2017 !

2017/01/24

It’s time again for me to prepare the HPE TSS designed for our presales and channel partners, with some of our the best experts to transfer knowledge on everything HPE !

We have again this year a track dedicated to Open Source and Linux !).

So I’ll be in Cannes from the 6th to the 10th of February to cover:

  • B90 HPE’s Open Source Strategy – Auditorium K – Tuesday 7th of February 2017 – 5:30PM-6:20PM
  • L30-R1 Docker 101 Tutorial – Lab 1 – Wednesday 8th of February 2017 – 8:30AM-10:20AM
  • B91 Docker @ HPE – Ambassadeurs B – Wednesday 8th of February 2017 – 12:00AM-12:50AM
  • L31 Docker Orchestration Tutorial – Lab 1 – Thursday 9th of February 2017 – 8:30AM-10:20AM
  • B94 Docker: technology aspects and tools – Redaction 1 – Thursday 9th of February 2017 – 3:00PM-3:50PM
  • L30-R2 Docker 101 Tutorial – Lab 3 – Thursday 9th of February 2017 – 4:30PM-6:20PM
  • B92 Linux Distributions roadmap – Redaction 3 – Friday 10th of February 2017 – 8:30AM-9:20AM
  • B6 HPE RESTful API and the Redfish standard – Espace Californie – Friday 10th of February 2017 – 12:00AM-12:50AM

Pretty busy week no ?! And you should be able to replay the labs/tutorials on Wednesday afternoon during the OpenLab session in Lab 1.

A lot of sessions are covering Docker related topics this year, and I’m happy with thatas it’s a great techno, even more with the recently announced 1.13 bringing service support to docker-compose !

For those of you wondering why project-builder.org and MondoRescue versions are not published more regularly, that gives you again a hint 😉 Not speaking of the travel for 2 weeks starting the week after this one, and the next event in March in Grenoble, TES, where I’m part of the Event team and that we’ll organize for the 8th time.

See you there to talk of these subjects or something else as you see fit. I’m around the whole week.

Meet during LinuxCon EMEA

2016/09/23

After having talked on project-builder.org during the latest LinuxCon NA in Toronto, it’s now time to prepare for LinuxCon EMEA in Berlin.

I’l again talk about packaging, this time “Packaging for Linux Distributions with Docker“. And I’ll also replay the now popular (!) “101 Docker training” I’ve also delivered in Toronto, this time trying to deliver it before the one Jérome Petazzoni from Docker is doing on Docker orchestration, in order to allow for a complete overview of the Docker ecosystem.

Of course I’ll enjoy attending many sessions on various topics, and will see if in EMEA as well Docker Orchestration is the new Eldorado this year (In Toronto many talks and booth were dedicated to that theme). At least my colleague Mike Bright will cover it well !

See you around !