How to configure my default shell to talk to my Azure swarm manager?

I am a novice trying to navigate Docker cloud. I have set up and successfully deployed a swarm (using swarm mode) via Azure. I run the script to run and export
(1) docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock -e DOCKER_HOST dockercloud/client connelb/getstarted2 and (2) export DOCKER_HOST=tcp://192.168.99.100:32768.

However, when I type:
$ docker node ls

I get this error…
error during connect: Get https://192.168.99.100:32768/v1.33/nodes: http: server gave HTTP response to HTTPS client

while I expected (per instructions) something this:
$ docker node ls
ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS
6uotpiv8vyxsjzdtux13nkvj4 swarm-worker000001 Ready Active
qmvk4swo9rdv1viu9t88dw0t3 swarm-worker000000 Ready Active
w7kgzzdkka0k2svssz1dk1fzw * swarm-manager000000 Ready Active

I think I am asking, how to configure my default shell to talk to my Azure swarm manager? What concept(s) am I missing?

Similar problem with AWS.

I followed Get Started section in documentation, in part 6 I’m stuck at https://docs.docker.com/get-started/part6/#deploy-your-app-on-a-cloud-provider “Deploy your app on a cloud provider”.

Trying to connect to swarm https://docs.docker.com/docker-cloud/cloud-swarm/connect-to-swarm/#connect-to-a-swarm-with-a-docker-cloud-generated-run-command I ran the command provided by Docker Cloud:

docker run --rm -ti -v /var/run/docker.sock:/var/run/docker.sock -e DOCKER_HOST dockercloud/client kapxapot/aws-swarm

It said to execute the next command:

export DOCKER_HOST=tcp://192.168.99.100:32768

I did that, and now I can’t execute almost no commands, they all say the same:

$ docker info
error during connect: Get _https://192.168.99.100:32768/v1.36/info: http: server gave HTTP response to HTTPS client

It’s obvious that’s there is some http/https configuration conflict, but I can’t find any documentation on this problem.

OS: Windows 7

docker version (cloud context):
Client:
Version: 18.02.2-ce
API version: 1.36
Go version: go1.9.4
Git commit: fc4de447b5
Built: Mon Feb 12 19:03:38 2018
OS/Arch: windows/amd64
Experimental: false
Orchestrator: swarm

docker version (local context):

Client:
Version: 18.02.0-ce
API version: 1.35 (downgraded from 1.36)
Go version: go1.9.4
Git commit: fc4de447b5
Built: Mon Feb 12 19:03:38 2018
OS/Arch: windows/amd64
Experimental: false
Orchestrator: swarm

Server:
Engine:
Version: 17.12.1-ce
API version: 1.35 (minimum version 1.12)
Go version: go1.9.4
Git commit: 7390fc6
Built: Tue Feb 27 22:20:43 2018
OS/Arch: linux/amd64
Experimental: false