Link Docker Container across the Host

My SetUP is as Below

Machine – 1 = couch docker

  • How to configure docker registry to make a priority to local registry when PULL?
  • Container files not updated when changed from the host mapped volume
  • How to change ip address range of docker swarm ingress network
  • Docker for windows not working after install
  • I keep getting the “docker build” requires exactly 1 argument(s) error
  • Docker restore volume of removed container?
  • Machine – 2 = Web Docker

    How do I connect / link my Web docker to another systems couch docker?

    I tried Below method, but it isn’t working.

    On Machine-1

    step-1

    docker network create mynet
    

    Step -2

    docker run -v /home/user1/db:/var/lib/couchdb -p 0.0.0.0:5984:5984 --net mynet --name couch couch:latest
    

    On Machine-2

    Step – 3

     docker run  -e DB_URL=http://admin:admin@couch:5984/dbname --link couch:couch  -p 0.0.0.0:3000:3000 --net mynet --name web myweb:lates 
    

    It gives me below error

    docker: Error response from daemon: network mynet not found.
    See 'docker run --help'.
    

    Any Idea what can be done?

  • Using gitlab-ci to build .NET Core projects in docker
  • No access to AWS RDS from AWS ECS Docker Container
  • Using shared runners to access the gitlab registry
  • Docker run github branch/pull request
  • How to remove file/folder from Docker container without starting this container
  • Run SpringBoot-based docker image return error message:Invalid or corrupt jarfile /app.jar
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.