Container as a service: AWS fargate

Container as a service: AWS fargate

Technology 2 years ago (2018-08-23) Views: 21 Comments: 0

This article is translated from: Freecodecamp, original address: An intro to Amazon fargate:what It was, why it's awesome (and not), and when to use it, English original author for Em Manuel Marboeuf When Amazon announced Fargate with Eks at the end of 2017 at the AWS Re:invent Conference, it was left out of the doghouse, when the blogs and the big guys I was focusing on were just mildly saying: Oh, there's a new gadget that will allow ECS users to run containers directly in the cloud. As a developer, it really surprised me.Let's see why. Liberating productivity I think there have been five major revolutions in the field of software development, greatly improving the productivity of developers and writing and deploying applications at the highest efficiency.They all solved a series of major problems: The advent of cloud services (IaaS): Addressing the cost and scalability issues of infrastructure Open source community, conferences, workshops, technical blogs, stackoverflow, etc.: let knowledge reach more people Version control systems, collaboration tools, and continuous integration tools solve concurrent project development and integration issues containerized architecture Server and system management costs are reduced by server-less computing services (PaaS) All of these revolutions have a common feature:

Continuous building of container images using Dockerhub

Continuous building of container images using Dockerhub

Technology 2 years ago (2018-08-22) Views: 48 Comments: 0

Context As a lightweight virtualization container technology, Docker is widely used in today's automated operations, along with the major cloud platforms AWS, Aliyun, and the container orchestration engine kubernetes are also based on Docker as a basic unit of service. So the first step in deploying an application is to create an application image, that is, to write dockerfile, such as   The basic process is: Based on a base image, such as Java:alpine Build a project to generate a product, such as a JRE The portal that defines the image is entrypoint or cmd, "Java-jar xx.jre" In the actual project, the Dockerfile is far from simple, for example, the underlying image provided by OPENJDK may not have the environmental dependencies we need, such as the need for gradle support when building a Java project, such as a dependency package that is posted on GitHub, We need a git command, or we need to use Gitcrypt to decrypt some sensitive environment variables when we run the mirror, which means that we need to make some modifications based on the underlying image, such as: Run apkes on more and more, We'll find that the ever-bloated Docker image can seriously slow down

Docker in Docker

Docker in Docker

Technology 2 years ago (2018-04-24) Views: 35 Comments: 0

Docker run Docker? Docker technology is currently widely used in DevOps. We need to package the test or build code and automation scripts into Docker images and deploy them in various operating environments.In CI/CD, we use some CI/CD servers, such as Jenkins and GoCD, to build and deploy our applications to automate CI/CD.Now some CI/CD servers are also Dockerized on real physical machines.So we need to build (build) and run our Docker image inside the Docker container of the CI/CD server. This involves the "Docker run Docker" problem. A very natural idea is, do we need to install a Docker Daemon and Docker command in the CI/CD server image?However, running Docker in Docker always feels awkward. Extra installation and running of Docker undoubtedly increases the size of the CI/CD server image, and also increases the depth of Docker. In fact, we do not need to install Docker on the CI/CD server.Run our image on the CI/CD server with the following command: Principle: Grafting Docker adopts the C/S architecture. Docker's successful operation requires the support of Docker Daemon and Docker Client (client). When we run some commands such as docker build, we actually need Docker Client to connect to Docker Daemon

登录

Forget password?

您也可以使用第三方帐号快捷登录

切换登录

注册

TW