lxc-docker

ECS::TaskDefinition - What is the maximum value of 'Memory' property?

試著忘記壹切 提交于 2020-02-05 05:48:10
问题 here in this syntax of "ContainerDefinitions":[{Memory:500}] in AWS::ECS::TaskDefinition , Memory property refers to virtual address space(hard limit) of docker container process in root CGROUP. We are launching a jenkins container process on AWS EC2 using cloudformation resource type AWS::ECS::TaskDefinition . AWS EC2 is a 64 bit Linux OS. On 32 bit Linux OS, virtual address space of a process, can go upto 3 GB. On 64 bit Linux OS, virtual adress space of a process, can go upto Terabytes. We

Docker container - How to set GID of socket file to groupID 130?

与世无争的帅哥 提交于 2020-01-05 07:24:32
问题 This is docker in docker scenario. Below is the corresponding code in Dockerfile that has docker client installed: FROM jenkins/jenkins:2.190.2 ENV DEBIAN_FRONTEND=noninteractive # Official Jenkins image does not include sudo, change to root user USER root # Used to set the docker group ID # Set to 497 by default, which is the groupID used by AWS Linux ECS instance ARG DOCKER_GID=497 # Create Docker Group with GID # Set default value of 497 if DOCKER_GID set to blank string by Docker compose

How to install docker specific version

。_饼干妹妹 提交于 2019-12-03 02:20:36
问题 How to install specific version of Docker(like 1.3.2 )? I am unable to find any documentation in docker official docs. Referring this link for Ubuntu. Following instructions install docker version 1.0.1 : $ sudo apt-get update $ sudo apt-get install docker.io Also, following instructions install latest version of docker 1.4.1 : $ sudo sh -c "echo deb https://get.docker.com/ubuntu docker main > /etc/apt/sources.list.d/docker.list" $ sudo apt-get update $ sudo apt-get install lxc-docker How can