Learn from scratch about the configuration environment variables of dockerdocker

In the previous section, we introduced the deployment of a complex docker process. A command option - e is involved. The purpose of this command is to pass environment variables. Next I'll show you how it works. First, create a container and set the environment variable VINCENT=vincent@qq.com docker run -d --name test1 -e VINCENT=vincent@qq.c ...

Posted by aladin13 on Sun, 03 Nov 2019 05:27:20 -0800

How to transplant boa based on am335?

boa transplantation based on am335 needs five steps in total. Here are the detailed steps. You can learn from those who are unfamiliar with this knowledge. 1. Prepare development environment: (1)VMware 10.0 (2)Ubuntu 14.04 64bit (3) Sail335 development board (4) cross compiler: gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux 2. source code: ( ...

Posted by Fabrizzio PHP on Sun, 03 Nov 2019 01:15:22 -0700

Sanfeng cloud disk evaluation

Apply for a free virtual host or free ECS addresshttps://www.sanfengyun.com write Test with dd command to write 8k data each time, execute 300000 times, time command shows the time of execution process, generate test.disk file after execution, the size is 2.3G, the following is the write speed of Sanfeng cloud free ECS: root@ubuntu:~# rm -rf / ...

Posted by tomz0r on Fri, 01 Nov 2019 07:37:58 -0700

Python 3 basic multiplication table

       Python : 3.7.3          OS : Ubuntu 18.04.2 LTS         IDE : pycharm-community-2019.1.3       Conda : 4.7.5    typesetting : Markdown   code_1 """ @Author : Xing Xin @Date : 2019/7/2 @Blog : www.cnblogs.com/xingchuxin @Gitee : gitee.com/zhichengjiu """ def main(): # The final value is 9 end_num = 9 # Row cou ...

Posted by grga on Thu, 31 Oct 2019 15:56:11 -0700

Backup and recovery of jetson nano system

After the system is installed, it needs to be backed up. How to restore it to other SD cards? The environment is Ubuntu 18.04, jetson system U disk, which is inserted in the form of U disk. I. backup 1. First use the following command to confirm the device number of the u disk to be backed up sudo fdisk -l I'm sure it's / dev/sdc 2. Establ ...

Posted by Chief on Thu, 31 Oct 2019 12:12:20 -0700

kubernetes FAQ

Error when creating pod If the pod fails, the following two prompts will be displayed [root@master ~]#kubectl get pods NAME READY STATUS RESTARTS AGE net-test1-7c9c4b94d6-5mddl 1/1 Running 0 2m41s net-test1-7c9c4b94d6-xk8jp 0/1 ImagePullBackOff 0 5s [root@master ...

Posted by NEWDAY on Thu, 31 Oct 2019 00:06:08 -0700

How to play amr directly on Web page

amr online play Alex374 / AMR player library github: https://github.com/alex374/am... <!DOCTYPE html> <html> <head> <title> arm play</title> <script src="./amr-player-master/amrnb.js"></script> <script src="./amr-player-master/amrplayer.js"></script> <script type="text/ ...

Posted by Joeddox on Wed, 30 Oct 2019 11:09:14 -0700

[NOI2015] package manager tree chain segmentation

Title Description Linux users and OSX users must be familiar with package manager. Through the package manager, you can install a package through a line of commands, and then the package manager will help you download the package from the software source, and automatically solve all the dependencie ...

Posted by jackson4me90 on Wed, 23 Oct 2019 22:55:00 -0700

Struct, common, enum

1. structure ** Define a person data type struct person{ char name[20]; int height; }; //The above indicates that you have defined a structure data type, whose name is struct person. typedef struct person per; //Give struct person an alias called per typedef struct person{ char name[20]; in ...

Posted by andrin on Thu, 17 Oct 2019 14:44:48 -0700

Xie Baoyou: Teach you to send patch es to the Linux kernel by hand

Brief introductionThis article shows step by step how to generate a simple Linux kernel patch and submit it it to the Linux community. To show the steps for submitting patches to the community. English name of this article: "Submit Patches Step by Step" Author brief introductionXie Baoyou, who has worked on the programming front line ...

Posted by pspeakman on Mon, 14 Oct 2019 19:14:21 -0700