question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

container-transform 1.1.5 and/or Latest container doesn't appear to be working, at least for ECS -> Compose

See original GitHub issue
$ <snipped> | docker run --rm -i micahhausler/container-transform --input-type ecs --output-type compose
Unable to find image 'micahhausler/container-transform:latest' locally
latest: Pulling from micahhausler/container-transform
79650cf9cc01: Pull complete
581a2604819e: Pull complete
ada98fe44e3a: Pull complete
70b4de28adfd: Pull complete
bcd83fe4359e: Pull complete
a79ed293bf7c: Pull complete
ca7ba4450342: Pull complete
bdc934014ded: Pull complete
Digest: sha256:3836dc18396e463afce186372f715137007cf4f19680a130833ff8763332038e
Status: Downloaded newer image for micahhausler/container-transform:latest
Traceback (most recent call last):
  File "/usr/local/bin/container-transform", line 11, in <module>
    load_entry_point('container-transform==1.1.5', 'console_scripts', 'container-transform')()
  File "/usr/local/lib/python3.6/site-packages/click-6.7-py3.6.egg/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/click-6.7-py3.6.egg/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.6/site-packages/click-6.7-py3.6.egg/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.6/site-packages/click-6.7-py3.6.egg/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/container_transform-1.1.5-py3.6.egg/container_transform/client.py", line 64, in transform
    output = converter.convert(verbose)
  File "/usr/local/lib/python3.6/site-packages/container_transform-1.1.5-py3.6.egg/container_transform/converter.py", line 57, in convert
    output_transformer
  File "/usr/local/lib/python3.6/site-packages/container_transform-1.1.5-py3.6.egg/container_transform/converter.py", line 83, in _convert_container
    if container.get(input_name) and \
AttributeError: 'str' object has no attribute 'get'

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
jbryson3commented, Jul 20, 2017

@hangtwenty I ran into the exactly the same issue. I switched over to pip3 to do the install of container-transform and it started working for me.

pip3 install container-transform
0reactions
alok15eecommented, May 17, 2020

I am getting the same error. Even though I used pip3

Read more comments on GitHub >

github_iconTop Results From Across the Web

Docker Compose: From Local to Amazon ECS
In this blog post, we discuss how to use Docker Compose to deploy containerized applications to Amazon ECS. We aim to show how...
Read more >
Docker compose to AWS ECS fails at the end - Stack Overflow
The image is in an ECR private repository along with the others from the compose file. I have authenticated with: aws ecr get-login-password....
Read more >
Workshop: I Didn't Know I Could Do That with Docker - YouTube
... Elastic Container Service ( ECS ) using AWS Fargate. Join Peter McKee of Docker and Jonah Jones of AWS for a hands-on...
Read more >
Using Jenkins and Docker Compose to Deploy to Amazon ECS
Timecodes ⏱:00:00 Introduction00:18 Overview00:41 Starting point03:51 Review Dockerfile and compose.yaml05:06 Run a test job to verify ...
Read more >
AWS re:Invent 2016: Development Workflow with Docker and ...
Keeping consistent environments across your development, test, and production systems can be a complex task. Docker containers offer a way ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found