
Версия 2.2.1 глючная, а версию 2.3 нам не надо. какая текущая последняя в ветке 2.2 я не знаю. выход - написать range.
pip install "ansible>2.2.1,<2.3"
#pip
Size: a a a
pip install "ansible>2.2.1,<2.3"
#include <unistd.h>
#include <sys/syscall.h>
const char message[] =
"\n"
"hello world\n"
"\n";
void main() {
//write(1, message, sizeof(message) - 1);
syscall(SYS_write, 1, message, sizeof(message) - 1);
//_exit(0);
syscall(SYS_exit, 0);
}
gcc hello.c -o hello -static
FROM scratch
COPY hello /
CMD ["/hello"]
docker build -t hello ./
docker run hello
hello world
du -hs hello
и посмотреть docker images hello
их разница будет всего в пару десятков КБ. (792K -> 810К в моем случае)newgrp
. Эта команда открывает новый шелл в рамках текущего, получая следующую картину:├─bash───newgrp───bash───pstree
newusers
можно создавать набор пользователей из файла. или заводить их в интерактивном режиме.logrotate --force /etc/logrotate.d/config
# cat /etc/apt/apt.conf.d/99proxy
Acquire::http::Proxy {
your.local.repository DIRECT;
};
# apt install pm-utils
HandleLidSwitch=lock
systemctl restart systemd-logind.service
man logind.conf
# systemctl edit docker.service
[Service]
Environment=ALL_PROXY=socks5://user:password@host:port
# systemctl daemon-reload
# systemctl restart docker.service
alias less="LESS='-RS#3NM~g' less"