Why docker is needed [closed] - visual-studio

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 3 years ago.
Improve this question
I googled and I understand , docker will create an application image with environment setup.
Consider, I have an asp.net application which is already hosted in production.
I see, I can add docker support to an existing asp.net application.
How docker can help me with this, because I have already an environment setup on server. For an asp.net application all I needed mostly is a .net framework to be installed.
Instead to install docker I could install .net framework?
May be my understanding is wrong?

Docker help in deployment. For small applications, there is no special need to have docker based deployment. If you have large application can and you to push many changes very quickly to production, then choose docker. Docker will help you have a application in creating micoservices and run in any server without bothering about dependencies.

Related

Why is using composer for TYPO3 production deployments discouraged? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 days ago.
Improve this question
The official documentation for deploying TYPO3 states "The composer install command should not be run on the live environment."
Why is this? As far as I know deployer - a well received deployment tool for TYPO3 - does exactly this.
TYPO3 Recommends Composer as the Main Installation method.
but its good practice to run "composer install" on your local machine (or a CI Pipline like Github Actions) then move the downloaded code to the final destination server. and i think deployer is dooing exaclty that.
this has multiple advantages:
less dependancies on the production system. (one less software there to be exploited)
possiblity to run unit tests before deployment
add additional build steps for your deployment (like compilin sass
or javascripts)
ther is no need for credentials of private repositories on the production server

Spring Boot base Docker image - good idea? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 11 months ago.
Improve this question
recently some peers had the idea of creating a Spring Boot base Docker image. The reasoning is that way they could control the version, perform updates for security, etc.
Is it a good idea? Is there already a good, updated image you would suggest? I searched on dockerhub and didn't see one that's updated.
Thanks!
This is a philosophical question
There is none because this doesn't make sense, Spring Boot is an application framework, you cannot package it into a docker image as the framework itself isn't runnable. You can package an application built on top of Spring Boot in a docker image though. But how would you use that as a base for other images?

How to make a database with Heroku [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
Does anybody know how you can create a database using the Heroku hosting platform?
I have looked at so much tutorials but none of them seem to work...
I've tried MysQL, PsQl...
You should add the Heroku addon for the Database type you want to create. Then follow the doc for linking it with your app. Also con access the database externally with the settings that can found in Heroku Vars in your app. You also should provide more detailed information in your question, regarding your app.

Running a ruby program on AWS [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 days ago.
Improve this question
I have a Ruby code that I would like to run on AWS. Is is possible to run Ruby code on AWS?
You can run Ruby scripts on anything that has Ruby installed.
AWS (Amazon Web Services) provides you with a suite of tools to host servers (among other things). So your question "is it possible to run a simple ruby code on amazon AWS?" makes almost no sense at all. However, if you host an AWS server with some operating system, such as Ubuntu, then all you need to do is install Ruby, but it typically comes pre-installed on Linux.

What are my options to deploy different ruby versions to a server? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
The Linux server I'm deploying a web application to has a rather outdated version of Ruby (1.8.7) in their repositories, and it doesn't look like that's going to change any time soon.
What are my options in terms of using other ruby versions than the distro sanctioned package in a production environment?
If I was to use something like rvm, how would that affect my deployment process, server management, and stability?
rvm or rbenv are your best bets for managing multiple ruby versions.
As long as you setup RVM/rbenv for the user you're going to be deploying to, this will work fine. In fact, I've done this myself on AWS with Capistrano.

Resources