Er; I don’t think there is
you don’t run the command as
docker pull nginx:latest then docker image tag nginx:latest localhost:5000/nginx:latest
It is nonsense.
The commands to run are in the highlighted text
. Normal text is part of the English of the solution.
It wants you to run these commands one after the other
docker pull nginx:latest
docker image tag nginx:latest localhost:5000/nginx:latest
docker push localhost:5000/nginx:latest
and similarly for the second 3 commands.