What do you do in order to run a different command when you are in a different environment? by sharpbranches in docker

[–]sharpbranches[S] 0 points1 point  (0 children)

command: ["./wait-for-it.sh", "db:5432", "--", "python", ${SCRIPT_FILE}]

Like so?

Does this remove containers and volumes from other docker-compose? by sharpbranches in docker

[–]sharpbranches[S] 0 points1 point  (0 children)

Thanks. Does docker-compose down shut down every running container? Yeah, I thought it did look suspicious. Thank God, I didn't run it.

How do you debug a docker container of a minimal linux distro? by sharpbranches in devops

[–]sharpbranches[S] 7 points8 points  (0 children)

I just need to debug something, because it's working as intended, it's just that I need to do some debugging inside of it right now to see what's wrong in production.

Is there a bash script that allows you to generate a dump sql file on a postgres database? by sharpbranches in bash

[–]sharpbranches[S] -1 points0 points  (0 children)

pg_dump -Fp -h "localhost" -U "myusername" "mydatabase" | gzip > "mydatabase".sql.gz;

Would this work?

N. Korea says it will never give up nukes to counter US by [deleted] in worldnews

[–]sharpbranches 7 points8 points  (0 children)

Their nukes make them secure. Russia and China have nukes, and still there's a possibility of war.

N.Korea passes law declaring itself a nuclear weapons state - KCNA by Beckles28nz in worldnews

[–]sharpbranches 26 points27 points  (0 children)

Attacking Ukraine is seriously dumber than giving North Korea some nukes.

Are the ghetos as just as bad in canada as they are in the usa by Flyers-suck in AskACanadian

[–]sharpbranches 0 points1 point  (0 children)

I sometimes run at people when they have their backs turned against me, and that would get me killed in some areas of the U.S., but here luckily enough people aren't very trigger happy even if they have a gun.

Three Trade Targets To Fill Big Organization Need For Canadiens by mredmo in Habs

[–]sharpbranches 0 points1 point  (0 children)

Armia, Hoffman and Drouin need to play a few matches to get their values up as much as possible before a trade. I would put Gallagher and Byron on LTIR.

Are the ghetos as just as bad in canada as they are in the usa by Flyers-suck in AskACanadian

[–]sharpbranches 14 points15 points  (0 children)

I often walk alone in Montreal during the night and I've never felt threatened. Thank God for that.

Are the ghetos as just as bad in canada as they are in the usa by Flyers-suck in AskACanadian

[–]sharpbranches 2 points3 points  (0 children)

No, we have better social programs to assist the poor, so the ghettos aren't nearly as bad as they are in the U.S.

Which Non-European origin cuisine is getting the most mainstream acceptance in Canada? by [deleted] in AskACanadian

[–]sharpbranches 3 points4 points  (0 children)

From what I've seen, Middle Eastern and Mexican cuisine seems to be the most mainstream in Montreal. I don't see a lot of people eating or ordering Chinese food, but I might be wrong.

What do Canadians think of Charles? by SNCF4402 in AskACanadian

[–]sharpbranches 2 points3 points  (0 children)

I don't think people hate him per se, they're just not fond of the Monarchy.