Ansible入門しました

今まで食わず嫌いをしてしまっていたAnsibleに、今更ながら1入門しました。 使う前に抱いていた印象と実際に使ってみた感想を並べてみて、最後

古いfind(1)と新しいfind(1)

ソース読むときのためのメモ。 https://www.gnu.org/software/findutils/manual/html_mono/find.html#fts The findutils source distribution contains two different implementations of find. The older implementation descends the file system recursively, while the newer one uses fts. Both are normally installed. If the option –without-fts was passed to configure, the recursive implementation is installed as find and the fts-based implementation is installed as ftsfind. Otherwise, the fts-based implementation

Running X server via Docker

Lately, I have been using a Docker server Linux laptop. On the laptop, I do all; programming, browsing, using Twitter, using Slack, and seeing YouTube. So, I have been running an X Server in a container and using GUI directly.(It’s not directory :) I will explain the how-to. Architecture: 0. My laptop is Ubuntu Server 16.04.3 LTS (64bit) 1 2 3 4 5 $ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=16.04 DISTRIB_CODENAME=xenial DISTRIB_DESCRIPTION="Ubuntu 16.

How to use variables in FROM of Dockerfile

Use ARG before FROM. Dockerfile: 1 2 1: ARG tag 2: FROM ANY_IMAGE:$tag And docker build with args. 1 docker build . -t desktop --build-arg tag=hoge You can build a container FROM ANY_IMAGE:hoge. Bibliography https://docs.docker.com/engine/reference/builder/#understand-how-arg-and-from-interact