I'm running a pipeline that requires a docker container where I need to override the docker entrypoint. I've tested this locally and it works fine, but doesn't seem to work in the pipeline:
image: python:3.6
pipelines:
default:
- step:
caches:
- docker
script:
- docker run -d -p 8000:8000 --name dynamodb --entrypoint java amazon/dynamodb-local -jar DynamoDBLocal.jar -sharedDb -inMemory
- curl http://localhost:8000
services:
- docker
curl http://localhost:8000
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (56) Recv failure: Connection reset by peer
I've tried with both localhost and dynamodb in the curl request. Is that port restricted? Why doesn't this work?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.