Answer the question
In order to leave comments, you need to log in
How to deploy the entire ecosystem locally if you have given access to vps on which everything is in docker?
Faced a problem. Clients have several applications in the docker, namely in laradock. Among these applications are nodejs, laravel, and vuejs.
At the same time, nodejs is outdated and laravel is outdated.
How do I, having access to their vps, deploy all this on my linux, of course, using docker so that their library versions match mine. After all, how can this be done? I smoke videos and docker documentation, but I feel that I won’t be able to figure out how to deploy it right away.
Plus, the entire folder takes as much as 8 gigs in the archive.
Answer the question
In order to leave comments, you need to log in
1) You can try to create a docker image from a container, and then deploy it to yourself.
https://www.sentinelone.com/blog/create-docker-image/
2) You can create a virtual machine backup and deploy it in your virtual machine)))
3) If all this is needed for debugging, then you can perform a remote debug. For example, xdebug
4) As for me, the most adequate solution should be the following:
Raise these containers based on the Dockerfile. (perhaps using docker compose).
Then export the database from production and upload it to yourself.
Look carefully at the files in the git repo: maybe there is something like README.md
with deployment instructions? Directly copying a running project from a VPS is a so-so undertaking.
There is a hell of a way: copy the entire /var/lib/docker
docker version folder, configs, paths, folders on the servers must be identical;
the docker service must first be stopped;
when transferring, preserve the rights and owners of folders-files;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question