R
Railway•14mo ago
Floris

Can't compose docker ymls because docker fails to install

hey guys, i've been trying to install docker as railway can't take docker-compose.yml, right? my first time working with docker myself, i've been trying to install docker desktop for a bit now but i keep running into this error:
Component CommunityInstaller.EnableFeaturesAction failed: Not found
at CommunityInstaller.InstallWorkflow.<DoHandleD4WPackageAsync>d__30.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at CommunityInstaller.InstallWorkflow.<DoProcessAsync>d__23.MoveNext()
Component CommunityInstaller.EnableFeaturesAction failed: Not found
at CommunityInstaller.InstallWorkflow.<DoHandleD4WPackageAsync>d__30.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at CommunityInstaller.InstallWorkflow.<DoProcessAsync>d__23.MoveNext()
I have already tried to enable Hyper-V and containers via Powershell and normal ui but to no avail
Solution:
whats there for me not to understand of docker desktop failing
Jump to solution
32 Replies
Brody
Brody•14mo ago
you are trying to install docker into a container on railway?
Floris
Floris•14mo ago
yes thats correct
Brody
Brody•14mo ago
the containers arent ran with the permissions to allow that
Floris
Floris•14mo ago
😕 so what are my options here mister brody
Floris
Floris•14mo ago
lay m out for me
Brody
Brody•14mo ago
manually set up all the services on railway
Floris
Floris•14mo ago
sad day to be alive or is it
Brody
Brody•14mo ago
what are you trying to deploy?
Floris
Floris•14mo ago
anyways thanks i guess ill figure something out a docker file but im still at the docker-compose.yml
Brody
Brody•14mo ago
why does that need docker compose?
Floris
Floris•14mo ago
but i cant turn it inpt a dockerfile cus my docker fails at like ring0 level or whatever its failing due to some windows issues i might have to install linux on 2nd machine and try to make docker like that
Brody
Brody•14mo ago
sounds like you are doing something wrong lol
Floris
Floris•14mo ago
i dont think u understand my issue docker does not install on my pc to make a dockerfile
Brody
Brody•14mo ago
no offense, I don't think you understand your issue 🤣
Floris
Floris•14mo ago
docker desktop fails to install
Brody
Brody•14mo ago
I don't have docker on my computer either, doesn't stop me from writing dockerfiles
Solution
Floris
Floris•14mo ago
whats there for me not to understand of docker desktop failing
Floris
Floris•14mo ago
it okay ill figure sum out
Brody
Brody•14mo ago
idk what's the purpose of installing docker? because you don't need it to write a dockerfile
Floris
Floris•14mo ago
allows me to locally run dockerfiles allowing for faster development as i dont need to wait for the dockerfile to be built in the deploy
Brody
Brody•14mo ago
well then you would need to publicly publish the docker image
Floris
Floris•14mo ago
to run dockerized apps locally?
Brody
Brody•14mo ago
no to run them on railway
Floris
Floris•14mo ago
(im not docker literate) okay i c
Brody
Brody•14mo ago
these are the railway threads
Floris
Floris•14mo ago
doesnt railway docker all the code that it gets to deploy couldnt i drop in a dockerfilee straight away if thats what railway runs in the end
Brody
Brody•14mo ago
you're confusing both me and yourself 🤣🤣
Floris
Floris•14mo ago
im so glad i'm not a hired software engineer, i'd kill myself yeah well whatver ill just avoid docker
MantisInABox
MantisInABox•14mo ago
Yes, any code you push to railway will be bundled and run with nixpacks, or your own custom Dockerfile. You don’t need to use a Dockerfile if you just want to deploy some code, nixpacks can do that all for you
Floris
Floris•14mo ago
yes i know the code part it was the me giving a dockerfile that i wasnt sure of thanks for your reply
MantisInABox
MantisInABox•14mo ago
If your repo provides a Dockerfile, it will run your Dockerfile, but if you don’t have one, it will still deploy your code. You don’t necessarily need to use a Dockerfile. None of my projects use them
Want results from more Discord servers?
Add your server