Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade docker package #723

Closed
MikeVL opened this issue Dec 21, 2017 · 19 comments
Closed

Upgrade docker package #723

MikeVL opened this issue Dec 21, 2017 · 19 comments
Assignees

Comments

@MikeVL
Copy link

MikeVL commented Dec 21, 2017

The current version of the program contains several errors in the builder.

17.06.1-ce (2017-08-15)
Builder

Need upgrade to version 17.06.1-se or above

@wongnwo
Copy link

wongnwo commented Mar 7, 2018

Any chance we can get it updated with docker-ce 17.12 version?

@mkrakowitzer
Copy link

Please, an update to the docker package would be great.

The current release version of the https://github.com/vmware/vsphere-storage-for-docker driver is not supported with the current docker package version.

@jnovack
Copy link
Contributor

jnovack commented Apr 8, 2018

9 months later, we're still on 17.06.0-ce. What is VMware's commitment to Photon if we're already 3 releases behind on what is probably the flagship application on the OS?

@ghost
Copy link

ghost commented Apr 9, 2018

we are working on a change to the build system to support multiple versions of docker at the same time. We need to do this because we still want kubernetes to use 17.06 for now. But once this feature is done well add newer versions of docker.

@jnovack
Copy link
Contributor

jnovack commented Apr 14, 2018

PhotonOS and Docker 18.03

tdnf erase -y docker
tdnf install -y tar gzip

groupadd -r docker

curl -L'#' https://download.docker.com/linux/static/stable/x86_64/docker-18.03.0-ce.tgz | tar --strip-components=1 -C /usr/bin -xzf - 

cat <<EOF >>/lib/systemd/system/docker.service
[Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
After=network-online.target
Wants=network-online.target

[Service]
Type=notify
ExecStart=/usr/bin/dockerd
ExecReload=/bin/kill -s HUP $MAINPID
LimitNOFILE=infinity
LimitNPROC=infinity
LimitCORE=infinity
TasksMax=infinity
TimeoutStartSec=0
Delegate=yes
KillMode=process
Restart=on-failure
StartLimitBurst=3
StartLimitInterval=60s

[Install]
WantedBy=multi-user.target
EOF

systemctl enable docker
reboot

You are going to want to reboot before you start docker to clear up any mess with older drivers still loaded.

If you are still having issues, rm -rf /var/lib/docker, then start over.


Unsexy Update - It's very clear Photon was a slap-our-name-on-it-incubator-project and not an official corporate offering. I have since moved off of Photon due to lack of progress. Best of luck to those still here.

@oscar-b
Copy link

oscar-b commented Sep 28, 2018

@sharathjg Any updates on this issue?

@BoxedBrain
Copy link

Please, we need an upgrade on the docker version.

@DRoet
Copy link

DRoet commented Feb 12, 2019

FYI latest docker version on photon 2/3 is now 18.06.1

@CondormanFr
Copy link

how do you update a photon 2 ?
tdnf update or tdnf upgrade answers : nothing to do ...
Thanks

@DRoet
Copy link

DRoet commented Feb 12, 2019

I'm no expert but try tdnf clean all and tdnf distro-sync. you can check all the available version with tdnf info docker, but tdnf update did give me the option to upgrade docker to 18.06.1

if u mean upgrading to photon 3 (ga), that's described here:
https://vmware.github.io/photon/assets/files/html/3.0/photon_installation/Upgrading_to_photon_os_3.0.html

@CondormanFr
Copy link

tdnf distro-sync updates some product but not docker despite i saw the 18.06.1 with the tdnf info docker command...
Strange mechanism..

@DRoet
Copy link

DRoet commented Feb 12, 2019

are u sure it is not already installed? since it shows Repo: @System in ur tdnf info...
what does docker -v output? (maybe requires reboot to update?)

@CondormanFr
Copy link

CondormanFr commented Feb 12, 2019

# docker --version
Docker version 17.05.0-ce, build 89658be

The reboot remains docker in this state.

@DRoet
Copy link

DRoet commented Feb 12, 2019

and ur tdnf version? tdnf --version. Seems pretty strange either way, but maybe upgrading to photon os 3.0 might work if u have the opportunity.

@ppadmavilasom
Copy link
Contributor

@CondormanFr Please do tdnf install docker --refresh
possible stale local cache

@johnyrose
Copy link

@ppadmavilasom Hey, wanted to say its really nice to see that Photon is still being supported and maintained. I was wondering if you have any plans to officially put the security Docker just released after the recent CVE post (here: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-5736)

If not, I once read that Docker can be updated by simply switching the binaries to the most recent ones. I will test this out soon enough myself but do you expect it to work in this case?

@DRoet
Copy link

DRoet commented Feb 12, 2019

@Ripolak I think its on the way 7586dfe

@CondormanFr
Copy link

I installed a photon os 3 on my test server and it's ok

@YustasSwamp
Copy link

Thanks for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests