After playing with Dockers for the first time over the weekend and seeing small images for everything from Irssi, little dogs, browsers, etc., I was wondering if the local Package Preferences make the way for dozens of containers instead of <? / P>
I see the advantage that the base system is very clean and all these containers are completely autonomous and can be easily moved to different desktops, even on Windows. Each one works with a tiny distribution such as Alpine, with an application, for example. irssi etc.
Is this where everything is heading, or am I missing a boat here?
." " , . .
Chrome:
$ docker run -it \ --net host \ # may as well YOLO --cpuset-cpus 0 \ # control the cpu --memory 512mb \ # max memory it can use -v /tmp/.X11-unix:/tmp/.X11-unix \ # mount the X11 socket -e DISPLAY=unix$DISPLAY \ # pass the display -v $HOME/Downloads:/root/Downloads \ # optional, but nice -v $HOME/.config/google-chrome/:/data \ # if you want to save state --device /dev/snd \ # so we have sound --name chrome \ jess/chrome
Docker , .
. Vagrant , , - , , . , , ( ).
, , - . , Vagrant , , , , ..
Docker . VonC, , script, , Chrome , .
, script, , Node.js eslint . eslint STDOUT, , .
eslint
STDOUT
# eslint, as seen by the editor docker -v $(pwd):$(pwd) $OTHER_DOCKER_ARGS run $ESLINT_IMAGE $@
, , SSH, ? , , , ( ).
Source: https://habr.com/ru/post/1623743/More articles:Django: How to access current user id in javascript? - javascriptCould not install "Cairocffi" - pythonZeppelin throws java.lang.OutOfMemoryError: Java heap space - apache-sparkHow does merge without branch work? - gitProxy settings npm escape '\' char - node.jsDoes ViewModel support nested models? Is it possible to apply the Virtual property to viewModel? - ajaxHow to clean in front of a building using Microsoft.Build.Evaluation (MSBuild) - .netInstagram API Retrieve Hash Media - next_max_id и min_id устарели для этой конечной точки; вместо этого используйте min_tag_id и max_tag_id - phpHow to sort lists in a list in a user-defined order? - pythonHow to work with Reader [A, Future [B]] - scalaAll Articles