Comments (7)
Is your docker client using a TCP connection or pipe to connect to Docker? What is the value of DOCKER_HOST environment variable?
from aws-lambda-container-image-converter.
@clareliguori it uses tcp connection since I cannot unix socket while working in windows -
echo $DOCKER_HOST
tcp://127.0.0.1:2375
from aws-lambda-container-image-converter.
Can you try this release?
https://github.com/awslabs/aws-lambda-container-image-converter/releases/tag/0.0.2
from aws-lambda-container-image-converter.
Related: a4c7554
from aws-lambda-container-image-converter.
@clareliguori Thanks for the quick response. That is why you are the best. Shows the follow error now.
2019/01/25 09:31:24 Parsing the docker image docker-daemon:lambda-php:latest
2019/01/25 09:31:24 Error loading image from docker engine: error during connect: Get https://127.0.0.1:2375/v1.22/images/get?names=lambda-php%3Alatest: http: server gave HTTP response to HTTPS client
Since the option is no support for TLS -
Also you can change like the following since for some config I know 0.0.0.0 also works -
dockerHost := os.Getenv("DOCKER_HOST")
if dockerHost == "tcp://localhost:2375" || dockerHost == "tcp://127.0.0.1:2375" || dockerHost == "tcp://0.0.0.1:2375" {
sys.DockerDaemonHost = dockerHost
}
from aws-lambda-container-image-converter.
Ok try this release:
https://github.com/awslabs/aws-lambda-container-image-converter/releases/tag/0.0.3
@allisaurus graciously tested it on her Windows machine for me 😄
Related commit: 90056a8
from aws-lambda-container-image-converter.
@clareliguori It works now!!!. Although it created 2 layers. Thanks heaps. Thanks @allisaurus
2019/01/25 12:33:21 Parsing the docker image docker-daemon:lambda-php:latest
2019/01/25 12:33:45 Image docker-daemon:lambda-php:latest has 5 layers
2019/01/25 12:33:47 Did not create a Lambda layer file from image layer sha256:3689366b03b394fe16903c2de2b26d0b2b651e049fce4de5eb365892b031d8d9 (no relevant files found)
2019/01/25 12:33:47 Did not create a Lambda layer file from image layer sha256:e561f3672c5fad29d71f2f69d48085e17cae144940d524e08332c54f4f4f7b81 (no relevant files found)
2019/01/25 12:33:48 Created Lambda layer file output/layer-1.zip from image layer sha256:36e9afe509189ebc5ad9e1ea763f1418b8d128506ac25e8902fbdcd06d98d498
2019/01/25 12:33:48 Created Lambda layer file output/layer-2.zip from image layer sha256:a0f7990bff9dfb7c2b81a9f45e0077e888691bb93ebbc37d67ff17e091ca9500
2019/01/25 12:33:48 Did not create a Lambda layer file from image layer sha256:f1e623da161313733665793734b85c46d40bcab533899e608507c41285a5c55d (no relevant files found)
2019/01/25 12:33:48 Created 2 Lambda layer files for image docker-daemon:lambda-php:latest
from aws-lambda-container-image-converter.
Related Issues (20)
- libraries under /opt are not detected HOT 3
- Feature: Support AWS Batch HOT 1
- SAM Deployment? HOT 4
- Uses Default AWS Profile with no option to change
- Bug: no relevant files found HOT 3
- Provide option for daemon on Windows 7 HOT 1
- Adding support for node 10.x
- Error loading image from docker engine: error during connect: (Windows 10 Pro) HOT 3
- Example Error: No php-example-hello.zip file found in the package path you provided. HOT 1
- Using assumed role profile puts layer in wrong account HOT 5
- Permission error when running script HOT 2
- Layer creation error HOT 2
- Dependabot couldn't find a Gopkg.toml for this project
- Dependabot couldn't find a Gopkg.toml for this project
- Dependabot couldn't find a Gopkg.toml for this project
- Dependabot couldn't find a Gopkg.toml for this project
- Dependabot couldn't find a Gopkg.toml for this project
- Size error when creating large layers
- help with installation HOT 2
- Add python3.8 as a valid runtime HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-lambda-container-image-converter.