T O P

  • By -

Murky-Sector

>However, still it is not clear which AWS service if at all possible to indeed use to replace the need of working on Docker locally. Docker can be run on ec2


merRedditor

This is useful when your company won't let you install Docker Desktop on your work machine. You just create your own desktop environment with Docker on it (and Blackjack, and hookers), and then all you need to experiment with it is AWS CLI.


Murky-Sector

There are definitely some good use cases for it


climb-it-ographer

Fargate? Or am I not understanding the question?


Call-Me-Robby

I think op wants to create a docker image using machines running on the cloud, rather than just run containers on the cloud. So ec2 would be better I guess.


CorpT

https://www.lastweekinaws.com/blog/the-17-ways-to-run-containers-on-aws/


halfanothersdozen

Why the hell are you still on Windows 7 lol?


Utenziltron

My guess would be 2 words: gub mint


PhilipJayFry1077

You'd have to run a Linux ec2 Instance to do it (this is just a virtual machine in the cloud) You're better off dual booting Linux on your machine or running it in a vm on your machine, as ec2 can get a bit pricey


DigitalSplendid

Seems there was not a need to work on DockerHub locally. I have a web application created on VS Code (via CS50 Edx). So pushing from there to AWS Lightssil container is what I am working now,


-DONKEY-

If your main concern with working on docker locally is that it doesn’t support windows 7, then if you were open to moving to windows 11 you can use WSL (windows subsystem for Linux) which gives you a Linux environment that gets integrated straight into windows where you could build your docker images.


DigitalSplendid

Seems there was not a need to work on DockerHub locally. I have a web application created on VS Code (via CS50 Edx). So pushing from there to AWS Lightssil container is what I am working now,


vinegary

You need a linux machine to run docker, ec2 can solve this. Just in case; one thing that can confuse people is that docker isn’t virtual machines, it’s process isolation


ndvrichaws

If the Docker image you’re using is in a public Docker registry already (e.g. Docker Hub), there’s no need to upload to ECR first in most cases. If you’re customizing an image or building your own, you need to upload to ECR or run Docker inside an EC2 instance (VM).


itsmill3rtime

the cloud thing is possible. jetbrains has support for remote environments. but if you really want to stay on windows 7 but have docker local, i would install virtualbox, install a vm with ubuntu or ubuntu server on it. install docker in the vm. mount your host directory to the vm and from the vm to docker container. performance will probably suck but it’s a possible solution


Decent_Chip_1

Not sure what you are asking- chatgpt already gave you an answer- easiest way is to upload your containers to ECR and run them in ECS. The alternative- run it on any EC2 instance that has linux kernel ( CentOS, Ubuntu, Amazon Linux etc). Why would you want to run it on... Windows 7? Docker needs Linux kernel, if you want to run it on Windows - you have to install Docker which will additionally virtualize linux kernel ( so it will be slower)


Straight_Waltz_9530

CDK and CDK Pipelines is my goto for creating Docker resources to be used on AWS.


Human-Possession135

This is how I deploy docker containers on AWS. Not sure what tour backend is but here is my Django template: https://github.com/two-trick-pony-NL/Django_AWS_Lightsail_Template


neverfucks

aws at its core is a compute dealer. you buy compute from them, and with that compute you can run anything you can run on modern operating systems. they also offer some services that abstract away some of the overhead of buying raw compute. fargate on ecs and lamba being 2 examples that can run docker containers without having to deal with the host operating system 


Kleptokilla

You can install rancher which does the same thing as docker desktop


ArtSchoolRejectedMe

Launch lightsail on Ubuntu. Then lookup on how to install it