강의

멘토링

커뮤니티

BEST
Programming

/

Devops & Infra

Docker virtualization technology for DevOps (Private Harbor Registry)

This course is a process of learning about container virtualization technology, one of the four components that make up Cloud Native Architecture. It is a learning process that understands the basic concepts of container virtualization, which is the best way to deploy and operate Microservice applications, and covers Docker technology, which is the most widely known container virtualization technology. In addition to theoretical learning about the essential content required to deploy and operate applications developed in MSA form, you can understand how actual Docker containers work through related practical examples. In this course, you can also learn about various elements such as Docker Security and Logging that have not been covered in other existing lectures, and in the final practical project, you can build services (Harbor + Argocd) that can be linked to Docker technology and deploy applications to practice the core operating environment required for DevOps.

(4.8) 25 reviews

528 learners

Level Basic

Course period Unlimited

  • Dowon Lee
Docker
Docker
CI/CD
CI/CD
Virtualization
Virtualization
MSA
MSA
Docker
Docker
CI/CD
CI/CD
Virtualization
Virtualization
MSA
MSA

Add Ubuntu DinD image for MacOS Apple chip

Hello, this is Lee Do-won.

In the lectures "Building a CI/CD Pipeline Using Jenkins" and "Docker Virtualization Technology for DevOps (Private Harbor Registry)", examples are run by building a practice environment using the DinD (Docker in Docker) method to ensure smooth execution of Docker containers.

However, the Windows and MacOS environments are different, and in the case of MacOS, the Docker image that needs to be configured is different depending on the Intel chip and Apple chip. The image is configured to have the SSH server and Docker engine installed, so that it is easy to use when multiple Docker containers are needed during practice, but it is true that it is difficult to produce it to fit all the students' environments. However, we are trying to update the Docker image so that practice can be done without difficulty in the most general environment.

Recently, when practicing using the docker-server:m1 image used on MacOS Apple chips, errors such as the following were found that prevented practice.

 exec /docker-entrypoint.sh: invalid argument

I checked and fixed it through various routes, but it seems that the error occurred in the DinD method that installs the Docker engine in the Docker container and uses it on the arm64 architecture used in MacOS Apple chips. (It is difficult to find the cause because there is no error message or log.)

As it was determined that it was difficult to resolve with the image in question, we rebuilt and distributed a version that installed the SSH + Docker engine on the Ubuntu base as shown below.

https://hub.docker.com/repository/docker/edowon0623/docker-server/general

We have confirmed that all the problems that occurred above have been resolved. In Ubuntu, to start the Docker service, first run the command below and then practice.

 service start docker

We will continue to provide an updated practice environment as issues related to practice, such as DinD problems, are identified.

Next week is a holiday. 2024 was a year of many hardships for me personally, but I will start the new year with a new mindset. I will visit you often with better lectures this year. Happy New Year .

thank you

Comment