在我之前的博文中,我描述了我是如何在容器中使用进程管理器的,并做了一些展开。但我还是觉得有必要针对 Laurent Bercot 开发的 S6 做更详尽的说明。
什么用 S6 而不是 Supervisor?
| wget -c --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" https://download.oracle.com/otn-pub/java/jdk/12.0.2+10/e482c34c86bd4bf8b56c0b35558996b9/jdk-12.0.2_linux-x64_bin.tar.gz |
| // Package deepcopy provides a function for deep copying map[string]interface{} | |
| // values. Inspired by the StackOverflow answer at: | |
| // http://stackoverflow.com/a/28579297/1366283 | |
| // | |
| // Uses the golang.org/pkg/encoding/gob package to do this and therefore has the | |
| // same caveats. | |
| // See: https://blog.golang.org/gobs-of-data | |
| // See: https://golang.org/pkg/encoding/gob/ | |
| package deepcopy |
在我之前的博文中,我描述了我是如何在容器中使用进程管理器的,并做了一些展开。但我还是觉得有必要针对 Laurent Bercot 开发的 S6 做更详尽的说明。
什么用 S6 而不是 Supervisor?
Disclaimer: Please follow this guide being aware of the fact that I'm not an expert regarding the things outlined below, however I made my best attempt. A few people in IRC confirmed it worked for them and the results looked acceptable.
Attention: After following all the steps run gdk-pixbuf-query-loaders --update-cache as root, this prevents various gdk-related bugs that have been reported in the last few hours. Symptoms are varied, and for Cinnamon the DE fails to start entirely while for XFCE the icon theme seemingly can't be changed anymore etc.
Check the gist's comments for any further tips and instructions, especially if you are running into problems!
Results after following the guide as of 11.01.2017 13:08:
docker pull gcr.io/google_containers/kube-apiserver-amd64:v1.5.0
docker pull gcr.io/google_containers/kube-controller-manager-amd64:v1.5.0
docker pull gcr.io/google_containers/kube-proxy-amd64:v1.5.0
docker pull gcr.io/google_containers/kube-scheduler-amd64:v1.5.0
docker pull weaveworks/weave-npc:1.8.2
docker pull weaveworks/weave-kube:1.8.2
| Error Code | Description | |
|---|---|---|
| Error Code 1 | Incorrect function. [ERROR_INVALID_FUNCTION (0x1)] | |
| Error Code 2 | The system cannot find the file specified. [ERROR_FILE_NOT_FOUND (0x2)] | |
| Error Code 3 | The system cannot find the path specified. [ERROR_PATH_NOT_FOUND (0x3)] | |
| Error Code 4 | The system cannot open the file. [ERROR_TOO_MANY_OPEN_FILES (0x4)] | |
| Error Code 5 | Access is denied. [ERROR_ACCESS_DENIED (0x5)] | |
| Error Code 6 | The handle is invalid. [ERROR_INVALID_HANDLE (0x6)] | |
| Error Code 7 | The storage control blocks were destroyed. [ERROR_ARENA_TRASHED (0x7)] | |
| Error Code 8 | Not enough storage is available to process this command. [ERROR_NOT_ENOUGH_MEMORY (0x8)] | |
| Error Code 9 | The storage control block address is invalid. [ERROR_INVALID_BLOCK (0x9)] |
| bool | |
| create_process_as_login_user( | |
| _In_ const wchar_t* cmdline | |
| ) | |
| { | |
| _ASSERTE(NULL != cmdline); | |
| if (NULL == cmdline) return false; | |
| DWORD session_id = WTSGetActiveConsoleSessionId(); | |
| DWORD explorer_pid = 0xFFFFFFFF; |
| Possible values for ext-name: | |
| bcmath | |
| bz2 | |
| calendar | |
| ctype | |
| curl | |
| dba | |
| dom | |
| enchant |
| #!/usr/bin/env bash | |
| # This script is meant to build and compile every protocolbuffer for each | |
| # service declared in this repository (as defined by sub-directories). | |
| # It compiles using docker containers based on Namely's protoc image | |
| # seen here: https://github.com/namely/docker-protoc | |
| set -e | |
| REPOPATH=${REPOPATH-/opt/protolangs} | |
| CURRENT_BRANCH=${CIRCLE_BRANCH-"branch-not-available"} |
| # -*- coding: utf-8 -*- | |
| ## Copyright (C) 2021 Valentin Lab | |
| ## | |
| ## Redistribution and use in source and binary forms, with or without | |
| ## modification, are permitted provided that the following conditions | |
| ## are met: | |
| ## | |
| ## 1. Redistributions of source code must retain the above copyright | |
| ## notice, this list of conditions and the following disclaimer. |