Convert Docker CLI Commands to Docker Compose with Composerize in Your Terminal

preview_player
Показать описание
Today's video is sponsored and I use their service regularly!

✨✨25% off code:
✅ DB23

Purchased keys are permanent and you can see for yourself in the video!

✨✨ Genuine Lifetime Activation Windows 10 Pro only $14:

✨✨ Genuine Lifetime Activation Windows 11 only $21:

✨✨ Genuine Lifetime Activation Windows 10 Home only $13:

✨✨ Genuine Lifetime Activation Office2019 only $48:

/=========================================/

In this video I'll show you how to self-host a command-line version of composerize on your Docker server.

- sudo apt install npm
Say Yes that you want to install npm
- npm install composerize -g

-g is the global install flag

Example:
composerize docker run -d --name tinypin -p 3030:3000 -v "$(pwd)/data:/data" --restart=unless-stopped slynn1324/tinypin

/=========================================/

The hardware in my recording studio is:
✔ Lenovo ThinkPad T580 i7-8650, 512GB NVMe, 32GB RAM (Bought used on eBay)

/=========================================/

✨Find all my social accounts here:

✨Ways to support DB Tech:

✨Come chat in Discord:

✨Join this channel to get access to perks:

✨Services (Affiliate Links):

✨Hardware (Affiliate Links):

The hardware in my current home server is:

/=========================================/

Remember to leave a like on this video and subscribe if you want to see more!

/=========================================/

Like what I do? Want to be generous and help support my channel? Here are some ways to support:

/=========================================/

Here's my Amazon Influencer Shop Link:
Рекомендации по теме
Комментарии
Автор

It's handy when you're a fan of docker-compose! Another good idea, thank you DB TECH 👌

zakoalax
Автор

Thanks again this is a neat little tool, also I'd like to suggest a video on setting up crowdsec + cloudflare bouncer.

vgamesx
Автор

Great option for us compose fans! Great video DB

chipr
Автор

This is the first I've heard of this tool. I've always assumed, actually I never really pondered it before, I thought I would be able to take a docker command and manually change it to a docker-compose file. Does this just automate that, or is it doing something behind the scenes to allow for docker-->docker-compose?

Breeegz
Автор

A what, so was possible? This is cool!

maximalisimus
Автор

i should of sent this with my plex sync request. ive been using this for about 2 years mate. the website only but

stevenbell
Автор

Just spun a VM to install this, found out it's really not good when it comes to the networking side of docker.
Something like this will not produce a docker-compose file : docker run -d --name=Whiteboard -p 8080:8080 --memory=2g --cpus=1 --restart=always --net=vlan100 --ip=192.168.100.17 rofl256/whiteboard
A pity really.

try-that