WARNING! Using --password via the CLI is insecure. Use --password-stdin.
WARNING! Your password will be stored unencrypted in /root/.docker/config.json.
Configure a credential helper to remove this warning. See
Your syntax is wrong, docker login and docker pull don’t include the protocol, so you should be using “docker login host:port” and “docker pull host:port”.
Also Docker expects to talk to a remote that is running https, not http. You’ll need to configure Nexus to use SSL for communications, and use an https connector port in the docker repository.
Finally, docker is picky about ssl certificates. If you’re going to use a self signed one, see here: