skip to Main Content

Call commands within docker container

I have a docker container where I need to run some commands. Usually, I do this manually by running the following commands: host> docker exec -it my-container bash container> eval $(ssh-agent) container> ssh-add ~/.ssh/my-key <TYPE PASSPHRASE!!!> container> pytest I've tried…

VIEW QUESTION

SIGTERM not trapped by AWS ECS docker container

I have the following ECS container definition ContainerDefinitions: - Name: myfluentd Essential: true Image: !Ref DockerImage MountPoints: - SourceVolume: efs-volume ContainerPath: '/fluentd/buffers' ReadOnly: false PortMappings: - ContainerPort: 24224 HostPort: 24224 Protocol: tcp EntryPoint: - "/var/lib/twistlock/defender.sh" - "defender" - "entrypoint" -…

VIEW QUESTION
Back To Top
Search