04 use docker container

Docker container docker container is another core concept. Container is a running instance of image. The difference is that the image is a static read-only file, the container has a writable layer required by the runtime, and the application process in the container is running.Virtual machine is to simulate a whole set of operating system. doc ...

Posted by plutoplanet on Sat, 07 Mar 2020 00:32:51 -0800

Android Application Startup Process - Process Creation

app process creation As you can see in this sketch, Launcher's click on the icon to start the process involves three roles. Launcher is the Initiate Request Process (caller), AMS receives Launcher's request and processes it. If the Activity process to be started does not exist, connect to Zygote through a local socket and initiate a request to ...

Posted by drath on Fri, 06 Mar 2020 09:07:22 -0800

02 | Java voice advanced | day08 | file class, recursion, comprehensive case (file filter)

Chapter 1 File class 1.1 overview (API) java.io.File class is an abstract representation of path names of files and directories. It is mainly used for creating, finding and deleting files and directories (representing folders). Directory means folder java encapsulates the files and folders (directo ...

Posted by ym_chaitu on Fri, 06 Mar 2020 04:31:02 -0800

Rsyslog return of the king

Rsyslog Everyone in the company is following the trend of learning es's log scheme. I've been struggling from three years ago to now. Filebeat + kafka + logstash+ es, at that time, I also wanted to build another storm. Later, I found that just a little log volume and a hammer kafka were used. Many of the tools that had been used were damaged by ...

Posted by lucie on Thu, 05 Mar 2020 23:02:10 -0800

Why can docker containers communicate with each other? Why can the container access the Internet?

In the previous section, we talked about the network namespace of linux, created the veth, and then made the network of the two network namespaces interoperate. After the docker creates the container, it will be found that the external network can be accessed in the container, and the network between th ...

Posted by moise on Thu, 05 Mar 2020 00:39:49 -0800

Azure configuration management series Oracle Linux (PART2)

Azure configuration management series Oracle Linux (PART1) Azure configuration management series Oracle Linux (PART3) 3 install desktop package in Oracle Linux When the Oracle Linux VM starts and runs, connect to it through an SSH session.   Figure 6: Oracle Linux VM started and running To log in to the system, use the same credentials that w ...

Posted by arnoldd99 on Wed, 04 Mar 2020 03:16:18 -0800

Portable file operations - Files

Portable file operations - Files Separator In Windows system, backslash '' or slash '/' is used as the separator of the path. However, when using backslash, it needs to be noted that a single backslash represents the escape character, so when using backslash as the separator of the path, it needs ...

Posted by lettie_dude on Wed, 04 Mar 2020 00:13:12 -0800

Non blocking connect

In the socket blocking mode, the connect function will not return until there is a clear result (or the connection succeeds or the connection fails). If the server address is "far away" and the connection speed is slow, the connect function may cause the program to block in the connect process ...

Posted by romic on Tue, 03 Mar 2020 23:43:35 -0800

Parameters of main function in C language

Article directory 1, Parameters of main function 2, Standard writing of C program 3, envp parameter 4, Homework after class 5, Copyright notice When the program is running, some need to take parameters, some do not take parameters, such as linux operating system commands, which are essentially C p ...

Posted by comcentury on Tue, 03 Mar 2020 20:00:47 -0800

Kubernetes Pod Controller

In robotic technology and automation, the control ring is an endless loop of control system state This is an example of a control ring:'Automatic temperature regulator in a room'When you set the temperature and tell the thermostat your "expected state", the actual temperature of the room is "current state".By switching th ...

Posted by joseph on Mon, 02 Mar 2020 17:09:55 -0800