Closed Sandmania closed 5 years ago
Which OS are you using? The -c
option was created before there was an official cross-platform Docker container so it only works on Linux. Have you tried --docker-launch
? That will use the official container.
I should do some testing and either remove it or just change it to use the new container if it doesn't work for people.
Running on macOS Mojave and --docker-launch
works if I modify the running container a bit. See #33
I have fixed the build container issue by switching to the official Docker container, running all functions without the Greengrass container, and running in privileged mode.
@Sandmania you'll need the latest version of the aws-greengrass-lambda-functions repo with the new Dockerfile.X86_64. That uses the official Greengrass container.
Fixed in #41
After creating a container with
java -jar ../aws-greengrass-provisioner/build/libs/AwsGreengrassProvisioner.jar -g xx -d deployments/cdd-skeleton.conf -c -a X86_64
and then trying to start it withdocker run -p 8883:8883 greengrass:xx
it fails with:Maybe I'm just missing something from the startup command?