Koozali.org: home of the SME Server

Obsolete Releases => SME 9.x Contribs => Topic started by: redteo on March 31, 2019, 08:28:34 PM

Title: docker installation won't work
Post by: redteo on March 31, 2019, 08:28:34 PM
Code: [Select]
[root@server media]# yum --enablerepo=reetp,epel install smeserver-docker
Loaded plugins: fastestmirror, post-transaction-actions, smeserver
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: centos.mirror.garr.it
 * epel: fedora.mirror.garr.it
 * smeaddons: mirror.pialasse.com
 * smeextras: mirror.pialasse.com
 * smeos: mirror.pialasse.com
 * smeupdates: mirror.pialasse.com
 * updates: centos.mirror.garr.it
No package smeserver-docker available.
Error: Nothing to do
[root@server media]#


any suggestion thanks
Title: Re: docker installation won't work
Post by: TerryF on April 01, 2019, 02:25:41 AM
More info please, First, Did you install the reetp repo

Added: actually looks like John has moved the file on..he will comment when he sees this
Title: Re: docker installation won't work
Post by: redteo on April 01, 2019, 11:33:59 AM
More info please, First, Did you install the reetp repo

off course  :-o

Quote
Added: actually looks like John has moved the file on..he will comment when he sees this

hope so
Title: Re: docker installation won't work
Post by: TerryF on April 01, 2019, 09:07:45 PM
smeserver-docker is in Johns testing repo

https://www.reetspetit.com/smetest/6/repoview/smeserver-docker.html
Title: Re: docker installation won't work
Post by: ReetP on April 01, 2019, 09:52:55 PM
Been out today. I'll have a look tomorrow and get back to you.
Title: Re: docker installation won't work
Post by: ReetP on April 02, 2019, 03:27:00 PM
Just to say I am looking at this, but as with everything in life, it is a little more complicated than it was!

There are a number of gotchas I need to try and sort out.

Yes I moved the contrib it to my test repo as it is still a work in progress.

It is in a bit of a halfway house.... I had done quite a bit of work trying to simplify the networking and various functionality but ran into some issues that I need to look at. I can't easily go back and build an older simpler version at the minute :-(

On top of that, for some reason or other, they pulled the docker-io rpm from EPEL that I was using.

I have found another copy, and I have the SRPM but can't get the thing to build at the minute - trying to find out why.

Give me a day to two and I'll try to get you something to test with.
Title: Re: docker installation won't work
Post by: redteo on April 02, 2019, 04:23:05 PM
Not so urgent. Take your time.
I discovered docker reading your answer about my problem upgrading Plex.
And need some experimentation to learn how to use that. Thanks anyway
Title: Re: docker installation won't work
Post by: ReetP on April 02, 2019, 05:44:25 PM
I know :-)

Just trying to fix a couple of things that will help you with set up that I never got round to finishing before.
Title: Re: docker installation won't work
Post by: ReetP on April 02, 2019, 06:12:30 PM
Just a FYI...

[root@test configs]# docker-compose up -d plex
Removing plex
Recreating e93fdee716_plex

[root@test configs]# docker ps -a
CONTAINER ID        IMAGE                                                              COMMAND                CREATED             STATUS                   PORTS               NAMES
6fe3cc058991        plexinc/pms-docker                                                 "/init"                10 seconds ago      Up 10 seconds                                plex               

[root@test configs]# docker logs -f plex
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 40-plex-first-run: executing...
Creating pref shell
Attempting to obtain server token from claim token
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100     1    0     1    0     0      2      0 --:--:-- --:--:-- --:--:--     2
Plex Media Server first run setup complete
[cont-init.d] 40-plex-first-run: exited 0.
[cont-init.d] 50-plex-update: executing...
[cont-init.d] 50-plex-update: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Starting Plex Media Server.

And I have a web page I can login to (though I have this on cloud box and doing over a VPN - need to probably open up some ports now)

So it seems that at least at the minute it works :-)
Title: Re: docker installation won't work
Post by: ReetP on April 03, 2019, 06:18:45 PM
OK - I about have the contrib going - had to build a perl rpm to go with it.

I am currently stuck on rebuilding the docker-1.7.2 srpm

I do have a built rpm but can't verify it and would prefer to build from a srpm.

Keep you posted.
Title: Re: docker installation won't work
Post by: ReetP on April 04, 2019, 05:01:33 PM
Damn.

After loads of hacking about I managed to get v 1.12.6 built as a RPM and all seemed good.

Or so I thought. After ages messing about I finally saw tis

"level=fatal msg="Your Linux kernel version 2.6.32-754.10.1.el6.x86_64 is not supported for running docker. Please upgrade"

FFS.

So it builds fine, but won't run? Grrrrrrrr.

Back to 1.7.1 but that won't build at the minute.

Wish I could find a copy of the original EPEL rpm I installed. Just can't see one anywhere.

Been a frustrating couple of days and night.
Title: Re: docker installation won't work
Post by: Jean-Philippe Pialasse on April 09, 2019, 03:13:01 PM
Try upgrading kernel using elrepo.
You can be confident with their kernel.

Furthermore, even with the previous epel version, while docker seemed running fine, a lot of container were issuing various warning or unplanned behaviour unless you get a 4.x kernel.

So the thing here, if you need to run docker you’d better get the latest kernel anyway as most of container will make call to newer options of kernel
Title: Re: docker installation won't work
Post by: ReetP on April 09, 2019, 04:08:42 PM
Probably not worth the hassle though I can try it.

No idea why they pulled the docker-io package. Plex works on it, as does Rocketchat....