"Invalid reference format" while deploying on Azure using Docker


#1

What you did :memo:

I’ve tried to install Passbolt-docker on Azure as WebService using Docker.

  • I’ve chosen simple WebService
  • deploy with Docker, option: single container
  • tag: passbolt/passbolt:latest

I had some problems with setting db credentials. I was having errors such as ~ “connection string not correct”. Now it seems gone though.

The container won’t start though.

What happened :collision: :clipboard:

“InnerException: Docker.DotNet.DockerApiException, Docker API responded with status code=BadRequest, response={“message”:“invalid reference format”}”

I was not experiencing this issue on my localhost. The problem arose on Azure.

Log:

2018_11_30_RD00155DA3C010_docker.log:
2018-11-30 13:01:34.839 INFO  - Issuing docker pull: imagename = passbolt/passbolt:latest
2018-11-30 13:01:34.887 INFO  - Issuing docker pull: imagename = passbolt/passbolt:latest
2018-11-30 13:01:34.925 INFO  - Issuing docker pull  passbolt/passbolt:latest
2018-11-30 13:02:38.548 INFO  - docker pull returned STDOUT>> latest: Pulling from passbolt/passbolt
f17d81b4b692: Already exists
376d99d019dc: Already exists
80b3573727f0: Already exists
2c492579cd1f: Already exists
cfdfbf86ed5e: Pulling fs layer
2401376b8a66: Pulling fs layer
0df2f7c3fe64: Pulling fs layer
89d11a87559a: Pulling fs layer
7c4da0fc0e49: Pulling fs layer
d4946619cb40: Pulling fs layer
782aad62a18a: Pulling fs layer
c7bf69669687: Pulling fs layer
c56882a1b14e: Pulling fs layer
02c881c29bf2: Pulling fs layer
9dce42ae5039: Pulling fs layer
e2388a3078d5: Pulling fs layer
2401376b8a66: Verifying Checksum
2401376b8a66: Download complete
7c4da0fc0e49: Verifying Checksum
7c4da0fc0e49: Download complete
89d11a87559a: Verifying Checksum
89d11a87559a: Download complete
782aad62a18a: Verifying Checksum
782aad62a18a: Download complete
02c881c29bf2: Verifying Checksum
02c881c29bf2: Download complete
c7bf69669687: Verifying Checksum
c7bf69669687: Download complete
9dce42ae5039: Verifying Checksum
9dce42ae5039: Download complete
d4946619cb40: Verifying Checksum
d4946619cb40: Download complete
e2388a3078d5: Verifying Checksum
e2388a3078d5: Download complete
cfdfbf86ed5e: Verifying Checksum
cfdfbf86ed5e: Download complete
0df2f7c3fe64: Verifying Checksum
0df2f7c3fe64: Download complete
c56882a1b14e: Verifying Checksum
c56882a1b14e: Download complete
cfdfbf86ed5e: Pull complete
2401376b8a66: Pull complete
0df2f7c3fe64: Pull complete
89d11a87559a: Pull complete
7c4da0fc0e49: Pull complete
d4946619cb40: Pull complete
782aad62a18a: Pull complete
c7bf69669687: Pull complete
c56882a1b14e: Pull complete
02c881c29bf2: Pull complete
9dce42ae5039: Pull complete
e2388a3078d5: Pull complete
Digest: sha256:90afed9b24ccc29bc199bc976ee21cba64cd739d9673088efa7d24c4b265bb25
Status: Downloaded newer image for passbolt/passbolt:latest

2018-11-30 13:02:38.573 INFO  - Starting container for site
2018-11-30 13:02:38.574 INFO  - docker run -d -p 23995:80 --name passbolt-cfall_0 -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITE_SITE_NAME=passbolt-cfall -e WEBSITE_AUTH_ENABLED=False -e PORT=80 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_INSTANCE_ID=xxxxxe -e HTTP_LOGGING_ENABLED=1  passbolt/passbolt:latest  

2018-11-30 13:02:38.729 ERROR - Container create failed for passbolt-cfall_0 with System.AggregateException, One or more errors occurred.
InnerException: Docker.DotNet.DockerApiException, Docker API responded with status code=BadRequest, response={"message":"invalid reference format"}

What you expected to happen

I expect Docker to boot successfully.


#2

Hi!

I have no experience on Azure unfortunately but seems like a problem with docker parsing the command arguments Azure is executing. Maybe some character that should be lowercase or some extra space somewhere that should not be there, quotes missing…


#3

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.