Tushar Borole
Tushar Borole

Reputation: 49

how to convert docker-compose.yml to Dockerrun.aws.json?

I have the following docker-compose.yml

web:
  build: .
  ports:
   - "8000:8000"
   - "6076:6076"
   - "6077:6077"
  volumes:
   - .:/code
   - /code/node_modules
  environment:
   NODE_ENV: development
   CLIENT_PORT: 8000
   API_URL: http://radi/api/

I want to convert this file to Dockerrun.aws.json. Please help.

Upvotes: 3

Views: 2638

Answers (1)

Duc Filan
Duc Filan

Reputation: 7157

Try using Container Transform:

It can transforms docker-compose, ECS, and Marathon configurations.

Currently, container-transform can parse and convert:

  • Kubernetes Pod specs
  • ECS task definitions
  • Docker-compose configuration files
  • Marathon Application Definitions or Groups of Applications
  • Chronos Task Definitions

Upvotes: 5

Related Questions