GitHub action : How to set networkmode & hostname?
In the below GitHub CI job, cassandra container is launched on certain ports jobs: test: name: Test runs-on: [self-hosted, linux]
Continue readingDocker questions and answers
In the below GitHub CI job, cassandra container is launched on certain ports jobs: test: name: Test runs-on: [self-hosted, linux]
Continue readingBelow is the Dockerfile: FROM golang:1.14.10 MAINTAINER xyz COPY ~/go/bin/product-api /go/bin/product-api COPY ~/go/bin/swagger /go/bin/swagger ENTRYPOINT ["/go/bin/product-api"] on docker build -t
Continue readingBelow is the docker file: FROM golang:1.14.10 MAINTAINER xyz ENV SOURCES /product-api COPY . ${SOURCES} WORKDIR /product-api RUN make swagger
Continue readingThe ENV instruction sets the environment variable to the value . This value will be in the environment for all
Continue readingDependsOn property of ECS container definition is used for container dependencies Links property of docker compose provides service dependencies. We
Continue readingBelow is the ECS optimised AMI machine: $ cat /etc/os-release NAME=”Amazon Linux AMI” VERSION=”2018.03″ ID=”amzn” ID_LIKE=”rhel fedora” VERSION_ID=”2018.03″ PRETTY_NAME=”Amazon Linux
Continue readingsystemd service manager supports cgroups with below commands: systemd-cgls systemd-cgtop systemd-run systemctl set-property # applies the limits to a cgroup
Continue readingWe are versioning master Jenkins(docker image) and storing in ECR with tag 0.1.$(git rev-parse –short head). Does this create collision
Continue readinghere in this syntax of “ContainerDefinitions”:[{Memory:500}] in AWS::ECS::TaskDefinition, Memory property refers to virtual address space(hard limit) of docker container process
Continue readingIn production, host mode networking is recommended over bridge mode to avoid packet forwarding overhead. $ docker container run –help
Continue reading