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"]}
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
boxes = [ | |
{ | |
:name => "server1", | |
:eth1 => "192.168.205.10", | |
:mem => "1024", | |
:cpu => "1" |
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"]}
#!/bin/sh | |
# Copyright (c) Tailscale Inc & AUTHORS | |
# SPDX-License-Identifier: BSD-3-Clause | |
# | |
# This script detects the current operating system, and installs | |
# Tailscale according to that OS's conventions. | |
set -eu | |
# All the code is wrapped in a main function that gets called at the |
[user] | |
name = project operations | |
email = support@igedevteam.onmicrosoft.com | |
[core] | |
editor = \"C:\\Program Files\\Microsoft VS Code\\Code.exe\" \"-n\" | |
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol,space-before-tab | |
tabwidth=4 | |
excludesfile = ~/.gitignore-global | |
symlinks = false |
[ | |
{ | |
"user_id": "583c3ac3f38e84297c002546", | |
"email": "test@test.com", | |
"name": "test@test.com", | |
"given_name": "Hello", | |
"family_name": "Test", | |
"nickname": "test", | |
"last_ip": "94.121.163.63", | |
"logins_count": 15, |
const moment = require("moment"); | |
const sqlite3 = require("sqlite3").verbose(); | |
type SecurityTxt = { | |
// attributes | |
acknowledgments: Array<string>; // optional | |
canonical: Array<string>; // optional | |
contact: Array<string>; // required | |
encryption: Array<string>; // optional | |
expires: string; // required, max once |
IaaS指提供系统(可以自己选)或者储存空间之类的硬件,软件要自己手动装;PaaS提供语言环境和框架(可以自己选);SaaS只能使用开发好的软件(卖软件本身);BaaS一般类似于非关系数据库,但各家不通用,有时还有一些其它东西。
# https://hub.docker.com/repository/docker/aleleba/code-server | |
FROM codercom/code-server:3.12.0 | |
RUN sudo apt-get update | |
#Instalando Node.js | |
RUN curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash - | |
RUN sudo apt -y install nodejs | |
#Terminando de Instalar Node.js |
/* Please visit the URL below for more information: */ | |
/* https://shd101wyy.github.io/markdown-preview-enhanced/#/customize-css */ | |
.markdown-preview.markdown-preview { | |
// modify your style here | |
// eg: background-color: blue; | |
h1, | |
h2 { | |
border-bottom: 1px solid #eaecef; | |
} |