Upgrading instructions for docker are here https://xibo.org.uk/manual/en/upgrade_docker.html
I assume you have that on Linux and were following Alex’s guide that’s fine too, but please do keep in mind that current release is 1.8.3 and that’s what you need, other than that Alex’s instructions are correct.