title: Copy Docker network from one host to another
body: <p>I'm trying to migrate docker containers from one host to another and I've managed to move the containers, but they all complain that the network is missing:</p>
  <pre><code>docker: Error response from daemon: network service_backend not found.
  </code></pre>
  <p>How do I copy that network over to the new host?</p>
  <p>The config for the containers contains:</p>
  <pre><code>--network &quot;service_backend&quot;
  </code></pre>
  <p>And the <code>docker network inspect service_backend</code> looks like this:</p>
  <pre><code>[
      {
          &quot;Name&quot;: &quot;service_backend&quot;,
          &quot;Id&quot;: &quot;3a950dfe6c80bbac958d8965cbe2e94febd742d5356dcb0c790bf1e78a9bb2ca&quot;,
          &quot;Created&quot;: &quot;2018-03-10T03:26:26.482281374Z&quot;,
          &quot;Scope&quot;: &quot;local&quot;,
          &quot;Driver&quot;: &quot;bridge&quot;,
          &quot;EnableIPv6&quot;: false,
          &quot;IPAM&quot;: {
              &quot;Driver&quot;: &quot;default&quot;,
              &quot;Options&quot;: null,
              &quot;Config&quot;: [
                  {
                      &quot;Subnet&quot;: &quot;172.18.0.0/16&quot;,
                      &quot;Gateway&quot;: &quot;172.18.0.1&quot;
                  }
              ]
          },
          &quot;Internal&quot;: false,
          &quot;Attachable&quot;: true,
          &quot;Ingress&quot;: false,
          &quot;ConfigFrom&quot;: {
              &quot;Network&quot;: &quot;&quot;
          },
          &quot;ConfigOnly&quot;: false,
          &quot;Containers&quot;: {
              &quot;176cd874ca33599e99bdd4733d1e52ae347d37601d59b822cf444f5bbba38e36&quot;: {
                  &quot;Name&quot;: &quot;service_1&quot;,
                  &quot;EndpointID&quot;: &quot;415f640791e7a4e334205343f397c3bafe61ad3762599cc2d009c264d95c424c&quot;,
                  &quot;MacAddress&quot;: &quot;02:42:ac:12:00:03&quot;,
                  &quot;IPv4Address&quot;: &quot;172.18.0.3/16&quot;,
                  &quot;IPv6Address&quot;: &quot;&quot;
              },
              &quot;a61e8acb70912af4401831158e2bcd46b39be1c5acbf5beeb8a847bbf80eb759&quot;: {
                  &quot;Name&quot;: &quot;service_nginx_1&quot;,
                  &quot;EndpointID&quot;: &quot;c6438e1745c5823f78d172cb47f45e59275466880a9e5bd8be1d420a7467e5da&quot;,
                  &quot;MacAddress&quot;: &quot;02:42:ac:12:00:02&quot;,
                  &quot;IPv4Address&quot;: &quot;172.18.0.2/16&quot;,
                  &quot;IPv6Address&quot;: &quot;&quot;
              }
          },
          &quot;Options&quot;: {},
          &quot;Labels&quot;: {
              &quot;com.docker.compose.network&quot;: &quot;backend&quot;,
              &quot;com.docker.compose.project&quot;: &quot;service&quot;
          }
      }
  ]
  </code></pre>
  <p>How might I back that up and move it over?</p>