-
Notifications
You must be signed in to change notification settings - Fork 698
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
How to update the Docker Engine on Photon ? #588
Comments
We currently have 1.12.1 version. Next update will be to 1.13 version, probably. |
Any idea when we will see 1.13? |
Could you please also share the procedure to update the Docker engine without having to rebuild the entire Photon image. Thanks |
I just upgraded docker on photon OS from 1.11 to 1.12.1 using following 3 commands tdnf upgrade docker |
good to know, waiting the support for the version 1.13 ... :) |
Any estimated date for 1.13 (presumably 1.13.1)? |
I was successfully able to swap out the binaries to upgrade to 1.13.1 but naturally tdnf didn't realize the change and I'd really prefer to avoid the manual step for new deployments. Any estimated date for adding 1.13.1 to the repos? |
...waiting the support for newer docker version |
👍 Can we please get 1.13.1 to the repos ASAP? I'm trying to use |
Any update on this -- I'm trying to use the splunk-format option which doesn't seem to be available until 1.13. Thanks. |
There are some build process changes and an upcoming release causing delays. Will follow up and provide an update today |
Please use docker image from https://github.com/docker/docker/releases/tag/v1.13 I dont have an ETA on when this will be in photon repos at the moment. |
Thanks for the update. |
@ppadmavilasom Thanks for the update. I believe the link should be https://github.com/docker/docker/releases/tag/v1.13.0. Can you confirm that we can just download the image from there and do a drop-in replacement? It won't affect the stability of the Photon image (ie. no dependencies, etc.)? I'm running this in production so that's why I'm confirming. |
I've been running this 17.03 series on a photon vm for a while I install with this
|
This would require to un-install existing docker on photonos , What steps did you follow for that ? |
tdnf erase docker |
I just copy the binaries over the previous ones and restart docker. Everything is statically linked so it's got no dependencies anywhere else on the system. to do it cleanly tdnf erase -y docker
tdnf install -y tar gzip
curl -L'#' https://get.docker.com/builds/Linux/x86_64/docker-17.03.1-ce.tgz | tar --strip-components=1 -C /usr/bin -xzf -
groupadd -r docker
echo '[Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
After=network.target docker.socket
Requires=docker.socket
[Service]
Type=notify
ExecStart=/usr/bin/dockerd -H fd:// -s overlay2
ExecReload=/bin/kill -s HUP $MAINPID
LimitNOFILE=infinity
LimitNPROC=infinity
LimitCORE=infinity
TasksMax=infinity
TimeoutStartSec=0
Delegate=yes
KillMode=process
[Install]
WantedBy=multi-user.target
' > /etc/systemd/system/docker.service
echo '[Unit]
Description=Docker Socket for the API
PartOf=docker.service
[Socket]
ListenStream=/var/run/docker.sock
SocketMode=0660
SocketUser=root
SocketGroup=docker
[Install]
WantedBy=sockets.target
' > /etc/systemd/system/docker.socket
systemctl enable docker
systemctl start docker |
You forgot one line up front, if you're using the stock image: |
photon is building docker from sources from 2.0 onwards and will be updating on a regular basis as and when upstream updates are available. |
Now I'm just updating my Photon 1.0 to 2.0. I have found that the docker version is: |
I too want to know if we are updating via repo as well. We have Photon OS servers with Auto Deploy Proxy Cache containers on each of our sites. We would like to consistently pull updates from repo and not have to worry about manual installs. |
Photon's intent is to update docker when new versions are available. However, the ETA will be affected by other ongoing work. CVEs if any will be addressed with priority. You can send a PR and photon will be glad to add it if urgent. |
@ppadmavilasom There have been 3 release versions of Docker pushed upstream since 17.06 was added to the OS. Is it likely we will see an update soon? |
Hello,
What is the procedure to update the Docker Engine on a Photon machine?
Because the latest version is 1.12.5 and the one on Photon is 1.12.1.
Thanks
The text was updated successfully, but these errors were encountered: