Reputation: 43
I'm new to docker. I tried to launch an image with:
fig up -d --allow-insecure-ssl
But I get the following error message:
json: cannot unmarshal string into Go value of type []string
And I can't figure out how to fix it.
My fig.yml
:
configrepo:
image: docker-registry.backbasecloud.com/backbase/engage-configuration:latest
environment:
- SERVICE_NAME=configuration
ports:
- "8788:8080"
configserver:
image: docker-registry.backbasecloud.com/backbase/engage-configserver:latest
environment:
SERVICE_NAME: configserver
ports:
- "8888:8888"
links:
- configrepo:configrepo
dns: 172.17.42.1
docker version
Client version: 1.6.2
Client API version: 1.18
Go version (client): go1.4.2
Git commit (client): 7c8fca2
OS/Arch (client): darwin/amd64
Server version: 1.8.2
Server API version: 1.20
Go version (server): go1.4.2
Git commit (server): 0a8c2e3
OS/Arch (server): linux/amd64
fig --version
fig 1.0.1
Any ideas why I'm getting this error?
Upvotes: 3
Views: 9040
Reputation: 1326686
First, fig
has long been migrated to docker compose
.
Second, docker 1.6.2 is not the newest release of docker.
So before chasing that bug too much (in light of issues like 1638):
docker compose
and docker 1.8.2docker-compose.yml
: true
should be /bin/true
for instance.Upvotes: 2