See this issue.
Docker best practise to Control and configure Docker with systemd.
-
Create
daemon.json
file in/etc/docker
:{"hosts": ["tcp://0.0.0.0:2375", "unix:///var/run/docker.sock"]}
VMware vSphere 6 Enterprise Plus | |
1C20K-4Z214-H84U1-T92EP-92838 | |
1A2JU-DEH12-48460-CT956-AC84D | |
MC28R-4L006-484D1-VV8NK-C7R58 | |
5C6TK-4C39J-48E00-PH0XH-828Q4 | |
4A4X0-69HE3-M8548-6L1QK-1Y240 | |
VMware vSphere with Operations Management 6 Enterprise | |
4Y2NU-4Z301-085C8-M18EP-2K8M8 | |
1Y48R-0EJEK-084R0-GK9XM-23R52 |
Portable Version KEYS: | |
P6Z3T-UYJC9-YAK3F-APN9M-6ZDSD | |
FGZPK-93CWX-Q33Y6-D5URV-YXC3X | |
9CZQX-9YAQA-PF33L-XVUQH-NSD48 | |
8RZ3L-H3Y5L-W2RY5-Z5M8N-C7Z2U | |
CCZNU-LW3LF-K9V2T-MYZFF-94667 | |
EWZM6-3W4UX-KH922-C96GK-VGBH2 | |
Standard Version KEYS: | |
4AZNW-S2YHE-LLMWM-J6EL8-7QKDL |
server { | |
listen 80 default_server; | |
listen [::]:80 default_server; | |
root /your/root/path; | |
index index.html; | |
server_name you.server.com; |
Some Jenkinsfile examples |
upload(files) { | |
const config = { | |
onUploadProgress: function(progressEvent) { | |
var percentCompleted = Math.round((progressEvent.loaded * 100) / progressEvent.total) | |
console.log(percentCompleted) | |
} | |
} | |
let data = new FormData() | |
data.append('file', files[0]) |
See this issue.
Docker best practise to Control and configure Docker with systemd.
Create daemon.json
file in /etc/docker
:
{"hosts": ["tcp://0.0.0.0:2375", "unix:///var/run/docker.sock"]}
This example connects to an imap server and retrieves emails
npm install imap mailparser