zodern / meteor-up

Production Quality Meteor Deployment to Anywhere
http://meteor-up.com/
MIT License
1.27k stars 280 forks source link

swarm mode : private docker registry causes a deployment error #1159

Open aboire opened 4 years ago

aboire commented 4 years ago

in swarm mode the use of a private docker registry causes a deployment error

Mup version (mup --version): 1.5.1

Output of command

Started TaskList: Pushing Meteor App
[51.**.***.***] - Pushing Meteor App Bundle to the Server
[51.**.***.***] - Pushing Meteor App Bundle to the Server: SUCCESS
[51.**.***.***] - Prepare Bundle
[51.**.***.***] x Prepare Bundle: FAILED

          ------------------------------------STDERR------------------------------------

    real    1m58.026s
    user    0m1.985s
    sys 0m1.326s
    Error response from daemon: No such image: ****.gra5.container-registry.ovh.net/****/mup-****:latest
    tag does not exist: ****.gra5.container-registry.ovh.net/****/mup-****:previous
    tag does not exist: ****.gra5.container-registry.ovh.net/****/mup-****:latest

          ------------------------------------STDOUT------------------------------------
          vents
    https-browserify@0.0.1 /built_app/programs/server/npm/node_modules/meteor-node-stubs/node_modules/https-browserify
    os-browserify@0.2.1 /built_app/programs/server/npm/node_modules/meteor-node-stubs/node_modules/os-browserify
    path-browserify@0.0.0 /built_app/programs/server/npm/node_modules/meteor-node-stubs/node_modules/path-browserify
    process@0.11.10 /built_app/programs/server/npm/node_modules/meteor-node-stubs/node_modules/process
    punycode@1.4.1 /built_app/programs/server/npm/node_modules/meteor-node-stubs/node_modules/punycode
    querystring-es3@0.2.1 /built_app/programs/server/npm/node_modules/meteor-node-stubs/node_modules/querystring-es3
    readable-stream@2.3.6 /built_app/programs/server/npm/node_modules/meteor-node-stubs/node_modules/readable-stream
    core-util-is@1.0.2 /built_app/programs/server/npm/node_modules/meteor-node-stubs/node_modules/core-util-is
    inherits@2.0.3 /built_app/programs/server/npm/node_modules/meteor-node-stubs/node_modules/readable-stream/node_modules/inherits
    process-nextick-args@2.0.0 /built_app/programs/server/npm/node_modules/meteor-node-stubs/node_modules/process-nextick-args
    string_decoder@1.1.1 /built_app/programs/server/npm/node_modules/meteor-node-stubs/node_modules/string_decoder
    util-deprecate@1.0.2 /built_app/programs/server/npm/node_modules/meteor-node-stubs/node_modules/util-deprecate
    stream-browserify@2.0.1 /built_app/programs/server/npm/node_modules/meteor-node-stubs/node_modules/stream-browserify
    stream-http@2.8.1 /built_app/programs/server/npm/node_modules/meteor-node-stubs/node_modules/stream-http
    builtin-status-codes@3.0.0 /built_app/programs/server/npm/node_modules/meteor-node-stubs/node_modules/builtin-status-codes
    to-arraybuffer@1.0.1 /built_app/programs/server/npm/node_modules/meteor-node-stubs/node_modules/to-arraybuffer
    xtend@4.0.1 /built_app/programs/server/npm/node_modules/meteor-node-stubs/node_modules/xtend
    timers-browserify@1.4.2 /built_app/programs/server/npm/node_modules/meteor-node-stubs/node_modules/timers-browserify
    tty-browserify@0.0.0 /built_app/programs/server/npm/node_modules/meteor-node-stubs/node_modules/tty-browserify
    url@0.11.0 /built_app/programs/server/npm/node_modules/meteor-node-stubs/node_modules/url
    punycode@1.3.2 /built_app/programs/server/npm/node_modules/meteor-node-stubs/node_modules/url/node_modules/punycode
    querystring@0.2.0 /built_app/programs/server/npm/node_modules/meteor-node-stubs/node_modules/querystring
    vm-browserify@0.0.4 /built_app/programs/server/npm/node_modules/meteor-node-stubs/node_modules/vm-browserify
    indexof@0.0.1 /built_app/programs/server/npm/node_modules/meteor-node-stubs/node_modules/indexof
    mongo-object@0.1.3 /built_app/programs/server/npm/node_modules/mongo-object
    postcss@7.0.27 /built_app/programs/server/npm/node_modules/postcss
    source-map@0.6.1 /built_app/programs/server/npm/node_modules/source-map
    supports-color@6.1.0 /built_app/programs/server/npm/node_modules/postcss/node_modules/supports-color
    sanitize-html@1.22.1 /built_app/programs/server/npm/node_modules/sanitize-html
    srcset@2.0.1 /built_app/programs/server/npm/node_modules/srcset
    xtend@4.0.2 /built_app/programs/server/npm/node_modules/xtend
    simpl-schema@1.5.7 /built_app/programs/server/npm/node_modules/simpl-schema
    {
      "npm": "6.11.3",
      "ares": "1.10.1-DEV",
      "cldr": "32.0",
      "http_parser": "2.8.0",
      "icu": "60.1",
      "modules": "57",
      "napi": "4",
      "nghttp2": "1.39.2",
      "node": "8.16.1",
      "openssl": "1.0.2r",
      "tz": "2017c",
      "unicode": "10.0",
      "uv": "1.23.2",
      "v8": "6.2.414.77",
      "zlib": "1.2.11"
    }
    added 150 packages from 109 contributors and audited 150 packages in 19.403s
    found 5 vulnerabilities (4 moderate, 1 high)
      run `npm audit fix` to fix them, or `npm audit` for details
    Removing intermediate container 495e34245c34
     ---> 0dd00f5b49a9
    [Warning] One or more build-args [NODE_VERSION] were not consumed
    Successfully built 0dd00f5b49a9
    Successfully tagged ****.gra5.container-registry.ovh.net/****/mup-****:build
    Pushing images to private registry
    The push refers to repository [****.gra5.container-registry.ovh.net/****/mup-****]
    The push refers to repository [****.gra5.container-registry.ovh.net/****/mup-****]

          ------------------------------------------------------------------------------
zodern commented 4 years ago

The private docker registry currently isn't supported with Swarm.