Skip to content

Support: Help needed using private Docker registry with Swarm #985

Description

@matthewdolman

Expected Behaviour

I am developing the function locally, I build locally and push the image to my git repository. Then I deploy to open-faas server. The open-faas server should pull the image from the git repository and deploy the function.

Current Behaviour

The image for the function should be pulled by the faas server and the function deployed.

Possible Solution

Steps to Reproduce (for bugs)

  1. In stack.yml image for the function is my.gitlab.com/project/function:latest
    2 .faas-cli up -f stack.yml -g http://my-gateway:8080

Context

It seems that this should be pretty standard behaviour and I do not know if I am doing something wrong.

Your Environment

  • FaaS-CLI version ( Full output from: faas-cli version ):
    CLI:
    commit: 70ebebb71f015f4edb0c3e1f03ef3d262b1d84f6
    version: 0.7.7

  • Docker version docker version (e.g. Docker 17.0.05 ):
    Client: Docker Engine - Community
    Version: 18.09.0
    API version: 1.39
    Go version: go1.10.4
    Git commit: 4d60db4
    Built: Wed Nov 7 00:47:51 2018
    OS/Arch: windows/amd64
    Experimental: false

    Server: Docker Engine - Community
    Engine:
    Version: 18.09.0
    API version: 1.39 (minimum version 1.12)
    Go version: go1.10.4
    Git commit: 4d60db4
    Built: Wed Nov 7 00:55:00 2018
    OS/Arch: linux/amd64
    Experimental: false

  • Are you using Docker Swarm or Kubernetes (FaaS-netes)?
    Swarm

  • Operating System and version (e.g. Linux, Windows, MacOS):
    Windows 10 Professional

  • Link to your project or a code example to reproduce issue:

  • Please also follow the troubleshooting guide and paste in any other diagnostic information you have:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions