How can I build 2 independence tensorflow docker?

If I want to finish lesson 2 assignment in docker 1 while I want to finish lesson3 assignment in another docker.

How can I do that?

My first tensorflow docker is ok:

sudo nvidia-docker run -ti -p 8888:8888 -v ~/tfv1:/notebooks/tfv1 --name tfv1 tensorflow/tensorflow:latest-gpu

##But when I try to build another tensorflow docker like the below codes, I met trouble

when I try to enter jupyter notebook

sudo nvidia-docker run -ti -p 6688:8888 -v ~/tfv2:/notebooks/tfv2 --name tfv2 tensorflow/tensorflow:latest-gpu

http://localhost:8888/?token=bd113949983a744867bbfe6defd70c5c291e1a60f0f0eaac

the mistake remind like this

This site can’t be reached

localhost refused to connect.
Search Google for localhost 8888
ERR_CONNECTION_REFUSED

If you change the port like this

http://localhost:6666/?token=bd113949983a744867bbfe6defd70c5c291e1a60f0f0eaac

The error is still existed.

Failed to enter.



This site can’t be reached

The webpage at http://localhost:6666/?token=bd113949983a744867bbfe6defd70c5c291e1a60f0f0eaac might be temporarily down or it may have moved permanently to a new web address.
ERR_UNSAFE_PORT

Anyone can help me?

Very Thanks!

It looks like you’re exposing Jupyter (port 8888) on local port 6688 in that command. Try using localhost:6688 instead?