Тёмный

Create Docker Container with Go App •  

Brian Morrison
Подписаться 4,6 тыс.
Просмотров 22 тыс.
50% 1

In this video, I'll show you how you can add your Go apps into Docker containers so the code can run from virtually anywhere!
🔴 Subscribe today!
/ @brianmmdev
👋 Connect w/me:
▪ Twitter: / brianmmdev
▪ Website: brianmorrison.me
▪ Twitch: / brianmmdev
__________________________________________
🖥 My Rig
▪ CoolerMaster MB511: amzn.to/2AZfPUc
▪ GIGABYTE X570 AORUS Elite Wifi: amzn.to/2AZijlt
▪ Sabrent 1TB Rocket: amzn.to/316zIDy
▪ Corsair Vengeance RGB Pro 64GB: amzn.to/3epbybf
▪ AMD Ryzen 9 3900X: amzn.to/2CxwYov
▪ ASUS ROG STRIX GeForce GTX 1080: amzn.to/3hYuEar
__________________________________________
🎥 Streaming Gear
▪ SteelSeries Arctis 7: amzn.to/3hOUpJX
▪ Elgato Game Capture HD60 Pro: amzn.to/2V8nTc8
▪ Logitech C922x Pro Stream: amzn.to/2V7PKZY
▪ TaoTronics Camera Light: amzn.to/37QI4Ax
▪ InnoGear Microphone Arm: amzn.to/37Ql8Bk
▪ Audio-Technica AT2005USB: amzn.to/3ajIuRh
__________________________________________
⏯ My Coding Series'
▪ Coding NodeJS APIs: • Coding NodeJS APIs
▪ Coding Discord Bots: • Coding Discord Bots
__________________________________________
📚 Other Excellent Learning Resources
▪ freeCodeCamp: www.freecodecamp.org/
Please note that links in this description may or may not be affiliate links, where I make a small commission if used.
Thanks For Watching!

Опубликовано:

 

3 апр 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 38   
@jonahbutler9079
Worked like a charm. :) Thanks for the straight ahead lesson and insights!
@Bukosaure
This may be one of the clearer and most informative video ever in the programming sphere. Your explanation are top-notch, the editing is good and the pace is perfect. Thanky ou so much for this, this is exactly what I needed. Instantly subscribed.
@comedyclub333
This is simply the wrong way to dockerize go apps. Like, exactly how you should NOT do it. Go programs have the benefit of being a single dependency-less executable (if no cgo is used), meaning they can (and should be) run in a container made from scratch barely larger than the binary itself. Your image size is beyond 700 MB for a simple hello world app. This is ridiculous - not even my full blown Python apps bundle into such big images. The docker image is made for building your app in multi-stage docker builds. There's literally no downside of building an golang image correctly, even for testing.
@faisalmushtaq2287
i was a bit confused as i have to start a project from tomorrow using golang and docker. but thanks to you i now got the idea. Thanks alot
@speedTurtle
@speedTurtle Год назад
Well done. Beginners like myself are well served by this.
@annusingh4694
@annusingh4694 Год назад
Excellent video, fast paced with lots of info
@PhanorColl
it would be great to see a video of a complete CI/CD pipeline with docker go .. Great video BTW
@beastunleased0205048
I went through 5 different docker beginner videos. this by far is the BEST. concise, to the point and gets the job done. THANK YOU!!
@sujezz
@sujezz Год назад
Can you maybe make a video on how to run it with docker compose without installing go locally and developing inside container ?
@Ochecodes
Please what exetensions are you using to send request
@satotakeru1079
@satotakeru1079 Год назад
why did you execute go get on your local machine?
@0lange
@0lange Год назад
Thanks a lot!
@james-perkins
@james-perkins Год назад
Great content
@brandon_wallace
@brandon_wallace Год назад
Very nice video. Why did you not put EXPOSE 8080 in the Dockerfile?
@rakeshojha9744
hi your videos are great, can you please make a video where you can load a config from viper and dockerise it.
@brychanmd
Why not copy whole working directory instead of just main.go and go.mod?
@mohamadbt4055
very nice
@thechaoslp2047
@thechaoslp2047 Год назад
What's the plugin for sending the http requests?
@webmandman
@webmandman 21 день назад
773MB, dang!!
@axMf3qTI
Why would I copy the source files to the container and not the compiled app?
Далее
Docker In One Shot - Part 1
1:11:48
Просмотров 230 тыс.
Наташа Кампуш. 3096 дней в плену.
00:58
Create A Python API in 12 Minutes
12:05
Просмотров 601 тыс.
Using docker in unusual ways
12:58
Просмотров 428 тыс.
This Will Make Everyone Understand Golang Interfaces
21:03
3 ways to reduce the size of your docker images
17:20
The BEST Tool to Structure Golang Projects
7:58
Просмотров 23 тыс.