# Update Psono Fileserver
Update guide of the Psono Fileserver
# Preamble
From time to time you want to update to the latest version. If you have a possibility to snapshot your machine, please do so.
# Update with Docker
Update the docker image
docker pull psono/psono-fileserver:latest
Stop old Psono fileserver
docker stop psono-fileserver
Start new Psono fileserver
docker run --name psono-fileserver-new \ --sysctl net.core.somaxconn=65535 \ -v /opt/docker/psonofileserver/settings.yaml:/root/.psono_fileserver/settings.yaml \ -v /opt/psono-shard:/opt/psono-shard \ -d --restart=unless-stopped -p 10300:80 psono/psono-fileserver:latest
Cleanup
If everything works you can cleanup your containers with the following commands:
docker rm psono-fileserver docker rename psono-fileserver-new psono-fileserver
If anything fails you should be able to start the old docker container again.