We’ve got a printer in the office. I’m not sure how the network is organized, but it’s on a different IP range than the rest of the dev network. And for some reason I couldn’t get it to work.
The usual solution is to mount folders using
-v option. It’s simple, easy to use and pretty reliable. Just add
-v "$(pwd):/root" and the current folder will be mounted to the
/root folder in the container.
Using volumes is nice because they’re (can be) two way and (can) sync in real-time. Now you don’t need to rebuild your image every time you fix a typo.
-v has pretty deep configuration options too, in case you want to go down the rabbit hole.
Tagsahol álmomban jártam ale anime art beer blog code coffee concoct english fansub filozófia gaming geek hegymász ipa kaja kocsma kubernetes kultúra lager league of legends literature live magyar pilsner politika porter python rant stout study travel társadalom ubuntu university weather wheat beer work zene 就活 日本 日本語 百名山 艦これ