Digital ocean droplet docker build no space available error
Docker is creating this issue on each new re-build on github actions
any idea how can I prevent this like what can I include in the script of github actions?
You are running out of disk space. The runner will stop working when the machine runs out of disk space. Free space left: 29 MB
The error is very misleading because normally it is probably doing something wrong or unconfigured so it is filling a lot of space somehow which each re-build
normally i don't have anything on my ubuntu server (digital ocean droplet)48 Replies
Unknown Userā¢3y ago
Message Not Public
Sign In & Join Server To View
I do prune command
But why wouldn't prune command be working ?
yes the docker images are there indeed
Unknown Userā¢3y ago
Message Not Public
Sign In & Join Server To View
yes u was right
docker ps -a
showed me
can u help me with my command do clean up?
Unknown Userā¢3y ago
Message Not Public
Sign In & Join Server To View
if i switch to docker-compose would that make it easier to handle?
Unknown Userā¢3y ago
Message Not Public
Sign In & Join Server To View
no i'm just trying to god damn upload to digital ocean droplet through github actions
it's not working
i mean why these things are so bothersome
i can't even stop container in github action
Unknown Userā¢3y ago
Message Not Public
Sign In & Join Server To View
yeah thanks
@clumsyninja96 can u help me get my script straight for github actions?
Unknown Userā¢3y ago
Message Not Public
Sign In & Join Server To View
my friend who knows a bit devops helped me yesterday
but we've left off in the half of it.
the last command did run successfully 1 time only.
so my whole goal is to use docker through digital ocean droplet. by triggering github actions.
Unknown Userā¢3y ago
Message Not Public
Sign In & Join Server To View
I have
my dockerfile
Unknown Userā¢3y ago
Message Not Public
Sign In & Join Server To View
thank you for trying.
yes i get
let me show you.
I mean this error...
it's just funny
Unknown Userā¢3y ago
Message Not Public
Sign In & Join Server To View
@clumsyninja96 man this is really unnerving
Unknown Userā¢3y ago
Message Not Public
Sign In & Join Server To View
@clumsyninja96 bro could I be having troubles because I'm not using compose?
Unknown Userā¢3y ago
Message Not Public
Sign In & Join Server To View
I stopped all containers before started that one š¦
even deleted all of them.
Unknown Userā¢3y ago
Message Not Public
Sign In & Join Server To View
I see this
do you know what this might be
can I close it?
Unknown Userā¢3y ago
Message Not Public
Sign In & Join Server To View
ok it was action runner
so it needs to stay on
can I change my port somehow then
for docker?
do you change here to 7070?
action runner is running in 8080
so i think i need to change port
okay
7070:7070
worked
let's see if api returns a response
Unknown Userā¢3y ago
Message Not Public
Sign In & Join Server To View
yeah
do i have to change nginx port or something ?
hmmhttp://167.99.212.178/flowers/flowers
api is online but not returning the resp.
7070:8080 why this is like that? like why not 7070:7070
Unknown Userā¢3y ago
Message Not Public
Sign In & Join Server To View
ohh
should I make my backend in that case 7070 ?
the express i mean.
Unknown Userā¢3y ago
Message Not Public
Sign In & Join Server To View
sorry didn't understand.
should my Dockerfile expose and express ports
be 8080 still
but i should make 7070:8080 to escape collision with other node
am I correct?
Unknown Userā¢3y ago
Message Not Public
Sign In & Join Server To View
thank you
bro docker logs shows i'm active
but when I make a request i get 500
what could be happening?
Unknown Userā¢3y ago
Message Not Public
Sign In & Join Server To View
bro it works
http://167.99.212.178:7070/flowers/flowers
i have to write 7070 port
is this expected?
ā¤ļø
thank you
Unknown Userā¢3y ago
Message Not Public
Sign In & Join Server To View
hahaha
btw just curious
u had a clue when u said 7070:8080
like did u use that kind of thing before ? š
seems pretty advanced to me
but thanks so much!
Unknown Userā¢3y ago
Message Not Public
Sign In & Join Server To View
thank you so much
is this you btw?
are you a backend dev bro?
i'm normally full stack a bit front leaning, these are new to me but exciting for sure ! challenging too!
Unknown Userā¢3y ago
Message Not Public
Sign In & Join Server To View
Yeah š
are you familiar with connecting proxy ips ?
Unknown Userā¢3y ago
Message Not Public
Sign In & Join Server To View
Bro,
If I make my backend express port as 5000,
And if I expose container with 8080
then I should be able to reach to it with
-p 5000:8080
?
fixed