Doker Tutorial - Mirror Operations
More commands are available on the official website: https://docs.docker.com/engine/reference/commandline/docker/
View the current image list
docker image ls [OPTIONS] [REPOSITORY[:TAG]]
List images
Aliases:
ls, images, list
Options:
-a, --all Show all images (default hides intermediate images)
--digests ...
Posted by pcjackson06 on Thu, 27 Jun 2019 10:17:06 -0700
K-Nearest Neighbor Algorithms
1. K-Nearest Neighbor Algorithms
The configuration is as follows
System Ubuntu Kylin
IDE Pycharm Community
Language Python 3
2. Module Installation
After installing Python 3 and IDE, we need to first install the relevant modules (i.e. function libraries) so that we can complete the next study.
1. pip3 installation
sudo apt- ...
Posted by swissmissflash on Sat, 22 Jun 2019 17:35:57 -0700
Shell programming from beginnings to proficiency - Chapter 2. shell variables
Shell variables2.1. What is a VariableIn elementary school, we learned mathematical equations, such as: what is y equal to when x = 1 and y = x + 1 are known? In the above topics x and y are called unknowns, but in shell programming they are variable names, and 1 on the right of the equal sign and x+1 are variable contents. "=" i ...
Posted by szms on Sat, 22 Jun 2019 16:10:02 -0700
Docker's Six Initials: Basic Guidance
Link to the original text: http://www.itbus.tech/detail.html?id=8733
Preparatory knowledge
Although we'll introduce a lot of concepts next, it's better to know what Docker is and why you use it in advance.
Let's assume that you are familiar with the following knowledge:
+ IP Address and Port
+ Virtual Machine
+ Editing configuration file ...
Posted by DigitalExpl0it on Wed, 19 Jun 2019 16:06:11 -0700
To get started with URLOS application development, you first need to understand how docker containers are used.
URLOS is based on docker container. Before we start to develop URLOS, we need to master the basic knowledge of docker. This article takes the basic usage of docker container as an example to quickly give you a comprehensive impression of docker.
Introduction to Docker
Docker is an open source application container engine, which is based on the ...
Posted by jude0311 on Wed, 12 Jun 2019 15:12:49 -0700
Introduction to Docker Technology and Practice: Chapter 3 - Using Docker Mirrors - Chapter 4 Operating Containers - Reading Notes
Mirror already exists. Let's learn how to use it.
================================================
Mirror is the most important of the three cores and the most popular keyword since the birth of Docker!
Docker needs a local mirror before running the container with the following priority:
1) Locally existing mirrors
2) Default mirror war ...
Posted by ratass2002 on Sat, 08 Jun 2019 09:45:14 -0700
Python gracefully merges two Dict s
One line of code merges two dict s
Suppose two dicts x and y are merged into a new dict without changing the values of x and y, for example
x = {'a': 1, 'b': 2}
y = {'b': 3, 'c': 4}
A new result Z is expected, and y covers x if the key is the same. Expected results
>>> z
{'a': 1, 'b': 3, 'c': 4}
In PEP448, a new syntax is implement ...
Posted by Mr Mako on Thu, 06 Jun 2019 12:33:14 -0700
III. Ubuntu Installation of MySQL
I. MySQL Installation Method
There are two ways to install MySQL under Ubuntu:
1. By command, as follows:
sudo apt-get install mysql-server
apt-get isntall mysql-client
sudo apt-get install libmysqlclient-dev
It's easy to install MySQL by command, but only the latest version of MySQL can be installed, so you can't choose the version you ...
Posted by willcodeforfoo on Sat, 01 Jun 2019 12:37:03 -0700
The first tensorflow program
Run a tensorflow Hello World project using docker images.
After installing ubuntu 18.04, installing tensorflow through pip is always a mysterious mistake and can only offer docker. With docker, only one mirror can run without any other dependencies.
docker installs tensorflow
1. Install docker
$ sudo apt install docker.io
2. Add users to the d ...
Posted by waskelton4 on Sat, 18 May 2019 09:01:29 -0700
An Example of Matplotlib Initial Code for Python Drawing Library
With Matplotlib, various images can be easily generated, such as histogram, spectrogram, bar graph, scatter plot, etc.
Starter Code Example
import matplotlib.pyplot as plt
import numpy as np
# An array of 50 elements is generated with np.linspace and evenly distributed over (0,2*pi) intervals.
x = np.linspace( ...
Posted by rockobop on Sat, 18 May 2019 01:38:24 -0700