{"url":"https://takuya-1st.hatenablog.jp/entry/2023/07/26/152806","width":"100%","author_url":"https://blog.hatena.ne.jp/takuya_1st/","title":"lxc \u3067\u5b9f\u9a13\u74b0\u5883\u3092\u4f5c\u308b\u3068\u304d\u306e\u30e1\u30e2","description":"\u6700\u8fd1\u3001LXC\u3067\u5b9f\u9a13\u74b0\u5883\u3092\u4f5c\u308b\u3053\u3068\u304c\u591a\u3044\u3051\u3069\u3001\u3044\u3064\u3082\u5fd8\u308c\u308b\u306e\u3067\u30e1\u30e2\u3002 LXC_NAME=test ## lxc launch ubuntu:22.04 $LXC_NAME lxc config device add $LXC_NAME mytap0 nic nictype=macvlan parent=eth0 lxc shell $LXC_NAME ## in shell ## use apt-caching-proxy echo 'Acquire::HTTP::Proxy \"http://apt-cacher.lan\";' |sudo tee /etc/apt/apt.conf.d/01pr\u2026","published":"2023-07-26 15:28:06","height":"190","blog_url":"https://takuya-1st.hatenablog.jp/","image_url":null,"provider_url":"https://hatena.blog","blog_title":"\u305d\u308c\u30de\u30b0\u3067\uff01","categories":["lxc"],"author_name":"takuya_1st","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakuya-1st.hatenablog.jp%2Fentry%2F2023%2F07%2F26%2F152806\" title=\"lxc \u3067\u5b9f\u9a13\u74b0\u5883\u3092\u4f5c\u308b\u3068\u304d\u306e\u30e1\u30e2 - \u305d\u308c\u30de\u30b0\u3067\uff01\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","version":"1.0","type":"rich"}