📜 ⬆️ ⬇️

Is a docker a toy or not? Or still yes?

Hello!


I want to start the topic right away, but it would be more correct to tell a little about my story:


Introduction


I am a programmer with experience developing single-page frontend applications, scala / java and nodejs on the server.


For quite a long time (already a couple of years ago), I was of the opinion that docker is manna from heaven and in general a very cool tool and absolutely every developer should be able to use it. And from this it follows that every developer should have a docker on the local machine. What is there about my opinion, you look through the vacancies that are posted on the same hh. In every second there is a mention about docker and if you own it - it will be your competitive advantage;)


On my way I met with many people, with their different attitudes towards the docker and its ecosystem. Some said it was a handy thing, guaranteeing cross-platform. The second ones did not understand why they should run in containers and what profit from this, the third one didn’t care and they didn’t steam (they just wrote the code and went home - I envy them, by the way :))


Reasons for using


Why did I use docker? Probably for the following reasons:



What I always did not like about docker:




, docker- : , , Makefile, docker . docker-compose, docker. docker-compose up , , build , . , — . docker.


Ansible


( ), DevOps , , docker. :



— Ansible. - , . ! : Ansible docker , , ., , ! — Makefile docker-compose , yaml . loop, when, etc.


Docker


ssh . , "" . , , VirtualBox. ( ), , . , , docker .


postgresql:


ssh -L 9000:localhost:5432 user@example.com

. , postgresql, c docker . docker, . — ssh !


, SSH — VPN! OpenVPN VPN, . !


, AWS, GoogleCloud , , ! , , . , gcloud, , .


localhost Alpine docker . - , .


: virtualbox. docker .


docker


, , docker . Docker docker . docker docker .


-, docker ?
— , docker , . , dockerhub ? , nginx, 100500 . nginx, docker nginx .


tgz, - docker, Dockerfile tgz, , tgz. , docker , , tgz . docker


: docker registry, S3 google drive/dropbox


Docker CI


, , . , , . - , ( — ).


docker CI . — docker ? , Ansible , nodejs, php, jdk, ssh . , ?


, , docker . CI docker :



docker ( — , xD ). java , . nodejs , nvm.



docker , ( , ). "" , . , , CI, . DevOps .


docker , . . , .


docker : docker


- docker, :



PS:



, , !


')

Source: https://habr.com/ru/post/445914/


All Articles