forked from mikeckennedy/talk-python-transcripts
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path308-docker-for-python-developers-2021-edition.vtt
8205 lines (4103 loc) · 140 KB
/
308-docker-for-python-developers-2021-edition.vtt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
WEBVTT
00:00:00.000 --> 00:00:02.240
(clicking)
00:00:02.240 --> 00:00:06.960
- Hello everyone out there.
00:00:06.960 --> 00:00:09.920
Thank you so much for joining us on the live stream
00:00:09.920 --> 00:00:13.080
of this Talk Python to Me podcast recording.
00:00:13.080 --> 00:00:14.300
So excited to be here with Peter.
00:00:14.300 --> 00:00:16.320
We're going to kick off the show in just a second,
00:00:16.320 --> 00:00:17.760
but I do wanna let you know,
00:00:17.760 --> 00:00:19.500
if you have questions, comments, thoughts,
00:00:19.500 --> 00:00:22.640
put them into the chat here in YouTube
00:00:22.640 --> 00:00:24.840
and we'll try to make them part of the show.
00:00:24.840 --> 00:00:27.360
With that, thanks for being here.
00:00:27.360 --> 00:00:31.040
And Peter, welcome to Talk Python to Me.
00:00:31.040 --> 00:00:32.400
- Yeah, thanks for having me.
00:00:32.400 --> 00:00:33.360
Great to be here.
00:00:33.360 --> 00:00:35.840
- Hey, it's really great to have you here as well.
00:00:35.840 --> 00:00:38.940
It's been far too long since we've talked containers
00:00:38.940 --> 00:00:40.120
and Docker and all the things.
00:00:40.120 --> 00:00:41.960
I was looking back at something like show nine
00:00:41.960 --> 00:00:42.960
or something like that.
00:00:42.960 --> 00:00:45.360
It was, I believe 2015.
00:00:45.360 --> 00:00:47.920
Has anything changed with Docker since 2015?
00:00:47.920 --> 00:00:48.760
- Shame on you.
00:00:48.760 --> 00:00:49.580
- I suspect something has.
00:00:49.580 --> 00:00:50.420
I know, I know.
00:00:50.420 --> 00:00:51.440
I suspect something has.
00:00:51.440 --> 00:00:53.040
It's gotta be.
00:00:53.040 --> 00:00:54.600
- Yeah, there's been a, it's,
00:00:54.600 --> 00:00:55.760
yeah, containers are interesting.
00:00:55.760 --> 00:00:58.360
They're moving very fast, right?
00:00:58.360 --> 00:00:59.520
Very fast.
00:00:59.520 --> 00:01:00.960
On just about all fronts,
00:01:00.960 --> 00:01:05.160
I think the whole developer, DevOps, DevSecOps,
00:01:05.160 --> 00:01:08.200
just have embraced it the past five years.
00:01:08.200 --> 00:01:10.520
- Yeah, I was thinking what you might respond to
00:01:10.520 --> 00:01:11.400
from that question.
00:01:11.400 --> 00:01:14.060
And to me, it seems like not so much
00:01:14.060 --> 00:01:16.480
how containers work and run,
00:01:16.480 --> 00:01:18.120
but just how people have embraced them
00:01:18.120 --> 00:01:19.520
and how many places they show up
00:01:19.520 --> 00:01:21.040
and how many people are saying,
00:01:21.040 --> 00:01:23.320
"Hey, hey, we have a cluster.
00:01:23.320 --> 00:01:24.780
You just run your thing over here.
00:01:24.780 --> 00:01:25.880
Just give us your container
00:01:25.880 --> 00:01:26.880
and we'll help you run it
00:01:26.880 --> 00:01:28.600
as part of our platform as a service,"
00:01:28.600 --> 00:01:31.160
or whatever it is they're cloud hosting.
00:01:31.160 --> 00:01:32.000
Yeah.
00:01:32.000 --> 00:01:32.840
- Yeah, it's very interesting.
00:01:32.840 --> 00:01:34.840
And then there's all these little micro,
00:01:34.840 --> 00:01:38.760
maybe micro is not the correct term,
00:01:38.760 --> 00:01:41.080
but all these, a lot of SaaS and startups
00:01:41.080 --> 00:01:42.200
and trying to help,
00:01:42.200 --> 00:01:45.600
and containers are at the core of a lot of that.
00:01:45.600 --> 00:01:47.380
If you get into the container, we can run it.
00:01:47.380 --> 00:01:49.680
And yeah, some really interesting SaaS
00:01:49.680 --> 00:01:50.520
as they're starting up,
00:01:50.520 --> 00:01:53.360
little niche platforms as a service type things.
00:01:53.360 --> 00:01:54.900
Yeah, 100%.
00:01:54.900 --> 00:01:55.740
- Yeah, absolutely.
00:01:55.740 --> 00:01:56.580
It's super interesting.
00:01:56.580 --> 00:01:58.100
Before we dive too deep into that though,
00:01:58.100 --> 00:02:00.140
let's get started with your story.
00:02:00.140 --> 00:02:02.100
How'd you get into programming?
00:02:02.100 --> 00:02:04.940
- Yeah, so as a kid,
00:02:04.940 --> 00:02:07.600
my dad's an accountant,
00:02:07.600 --> 00:02:09.940
but a nerd at heart,
00:02:09.940 --> 00:02:13.740
a techie, let's say.
00:02:13.740 --> 00:02:15.780
And he started out, this is interesting,
00:02:15.780 --> 00:02:16.620
at least to me,
00:02:16.620 --> 00:02:18.220
he started out with calculators before,
00:02:18.220 --> 00:02:21.180
PCs were a big thing.
00:02:21.180 --> 00:02:22.060
He had calculators,
00:02:22.080 --> 00:02:23.800
he'd be programming these calculators and stuff.
00:02:23.800 --> 00:02:25.760
And anyways, long story short,
00:02:25.760 --> 00:02:26.600
he ended up getting,
00:02:26.600 --> 00:02:27.840
I think it was Apple II
00:02:27.840 --> 00:02:29.760
was the first kind of computer we had.
00:02:29.760 --> 00:02:31.320
And I was fascinated by it,
00:02:31.320 --> 00:02:32.400
started programming on it,
00:02:32.400 --> 00:02:34.860
just learning, messing around.
00:02:34.860 --> 00:02:36.920
Fast forward after high school,
00:02:36.920 --> 00:02:38.680
I was in the Coast Guard
00:02:38.680 --> 00:02:42.140
and had gotten out and was going back to school.
00:02:42.140 --> 00:02:44.480
And I started back as an accountant.
00:02:44.480 --> 00:02:47.000
My dad said, "Hey, accounting is a good foundation,
00:02:47.000 --> 00:02:48.560
you like math and science and those types of things."
00:02:48.560 --> 00:02:50.280
And I hated it,
00:02:50.280 --> 00:02:51.960
hated it, the debits and credits,
00:02:51.960 --> 00:02:55.680
and I was just like micro macro.
00:02:55.680 --> 00:02:58.800
Now it's a lot more interesting.
00:02:58.800 --> 00:03:00.680
Back then I couldn't stand it,
00:03:00.680 --> 00:03:01.520
but then I lucked out.
00:03:01.520 --> 00:03:04.360
My father was running two steel companies
00:03:04.360 --> 00:03:06.320
and he had a consulting team
00:03:06.320 --> 00:03:09.000
that was writing software for him,
00:03:09.000 --> 00:03:09.980
very exciting stuff,
00:03:09.980 --> 00:03:11.960
like inventory management,
00:03:11.960 --> 00:03:13.560
working process tracking.
00:03:13.560 --> 00:03:16.900
- Not exciting, but it's the kind of stuff that
00:03:16.900 --> 00:03:18.960
if you looked at what people were doing before,
00:03:18.960 --> 00:03:19.800
it was dreadful, right?
00:03:19.800 --> 00:03:20.920
It's like transformative,
00:03:20.920 --> 00:03:23.040
even though it seems so boring and basic.
00:03:23.040 --> 00:03:24.320
- Yeah, yeah.
00:03:24.320 --> 00:03:26.840
And he said, "Why don't you come work for me?"
00:03:26.840 --> 00:03:28.800
And this consulting firm,
00:03:28.800 --> 00:03:32.000
the main, the owner had some life issues or whatever
00:03:32.000 --> 00:03:34.120
and had to move on.
00:03:34.120 --> 00:03:36.880
And I said, "Well, I don't know what I'm doing."
00:03:36.880 --> 00:03:38.520
He said, "Oh, you'll figure it out.
00:03:38.520 --> 00:03:39.840
There's a big Barnes and Noble
00:03:39.840 --> 00:03:41.320
at the top of the hill there, you can-"
00:03:41.320 --> 00:03:43.440
- Got a whole section on it, just go read.
00:03:43.440 --> 00:03:44.280
- Literally, yeah.
00:03:44.280 --> 00:03:45.920
And I did, and I did.
00:03:45.920 --> 00:03:48.640
And it was, I had a passion,
00:03:48.640 --> 00:03:50.320
I had a burning desire, right, to learn.
00:03:50.320 --> 00:03:51.720
It was fascinating to me.
00:03:51.720 --> 00:03:54.760
Yeah, and so I switched over to computer science degree,
00:03:54.760 --> 00:03:58.400
MIS, and, but by the time I got farther along in that,
00:03:58.400 --> 00:04:00.640
I was getting paid to program
00:04:00.640 --> 00:04:02.920
and I was learning a ton more on the job.
00:04:02.920 --> 00:04:03.760
So that kind of-
00:04:03.760 --> 00:04:06.320
- Remember your first experience of getting paid
00:04:06.320 --> 00:04:08.000
to write code, was it just like,
00:04:08.000 --> 00:04:10.600
I can't believe they're actually paying me to do this.
00:04:10.600 --> 00:04:12.040
- Absolutely, absolutely.
00:04:12.040 --> 00:04:15.400
It was, yeah, I mean, it's literally how they say,
00:04:15.400 --> 00:04:17.360
find something you love and are passionate in
00:04:17.360 --> 00:04:18.240
and the money will come.
00:04:18.240 --> 00:04:20.520
And yeah, it did, it certainly did.
00:04:20.520 --> 00:04:22.040
I was, I really enjoyed it.
00:04:22.040 --> 00:04:25.640
And yeah, I was getting paid to learn and write applications.
00:04:25.640 --> 00:04:28.000
So yeah, it was awesome.
00:04:28.000 --> 00:04:28.840
It was awesome.
00:04:28.840 --> 00:04:29.680
- Yeah, it's fantastic.
00:04:29.680 --> 00:04:30.880
I remember my first experience like that as well.
00:04:30.880 --> 00:04:32.560
I'm like, I had better figure this out
00:04:32.560 --> 00:04:35.120
before they realize I can't actually do this.
00:04:35.120 --> 00:04:36.720
Yeah, I could do the things they wanted,
00:04:36.720 --> 00:04:38.480
but I'm like, oh, any moment, they're just gonna say,
00:04:38.480 --> 00:04:40.040
no, we actually don't get to do this anymore.
00:04:40.040 --> 00:04:40.880
- Yeah.
00:04:40.880 --> 00:04:41.760
- But it was great.
00:04:41.760 --> 00:04:43.400
- Yeah, yeah, exactly.
00:04:43.400 --> 00:04:47.080
And then I went, by that time I said,
00:04:47.080 --> 00:04:48.640
I have to get on a bigger team and learn.
00:04:48.640 --> 00:04:51.320
I know I got to the point where, okay, I can write programs,
00:04:51.320 --> 00:04:53.320
but I don't know how to be an engineer.
00:04:53.320 --> 00:04:54.160
- Yeah.
00:04:54.160 --> 00:04:55.520
- And I'm not sure I could put it in those type of words,
00:04:55.520 --> 00:04:57.560
but luckily after that I got on a team
00:04:57.560 --> 00:04:59.320
and had some great mentors.
00:04:59.320 --> 00:05:03.140
So yeah, that's how I kinda got started.
00:05:03.140 --> 00:05:04.420
- Yeah, fantastic.
00:05:04.420 --> 00:05:05.800
I think that's good advice.
00:05:05.800 --> 00:05:08.960
You know, it's really cool to be on small teams
00:05:08.960 --> 00:05:10.800
because you really get to put your hand
00:05:10.800 --> 00:05:13.240
in so many areas you're not pigeonholed into.
00:05:13.240 --> 00:05:15.320
Well, I'm the one who optimizes stored procedures,
00:05:15.320 --> 00:05:16.240
so I do that.
00:05:16.240 --> 00:05:19.360
- Right, you get like a really broad experience,
00:05:19.360 --> 00:05:21.060
but at some point when it's like,
00:05:21.060 --> 00:05:25.560
there's no one I can talk to or learn from
00:05:25.560 --> 00:05:26.720
to go farther in this,
00:05:26.720 --> 00:05:29.880
then it gets to be a little bit limiting, I think.
00:05:29.880 --> 00:05:30.720
- Yeah, exactly.
00:05:30.720 --> 00:05:31.960
I'm like, well, that's how it got for me.
00:05:31.960 --> 00:05:34.080
I was like, I don't know where to go next
00:05:34.080 --> 00:05:35.120
and I don't know who, you know,
00:05:35.120 --> 00:05:37.160
I didn't have anybody there with me.
00:05:37.160 --> 00:05:39.800
Yeah, I think having a mentor either,
00:05:39.800 --> 00:05:43.560
either well-structured or kinda loosely structured
00:05:43.560 --> 00:05:46.080
or whether you look back on it five years and go,
00:05:46.080 --> 00:05:47.680
oh, that person was kind of a mentor for me
00:05:47.680 --> 00:05:49.000
is very powerful, right?
00:05:49.000 --> 00:05:50.160
It's very powerful.
00:05:50.160 --> 00:05:51.080
- Yeah, absolutely.
00:05:51.080 --> 00:05:51.920
It totally is.
00:05:51.920 --> 00:05:54.040
I remember making that transition
00:05:54.040 --> 00:05:56.520
to a really great group of people who were,
00:05:56.520 --> 00:05:58.560
every one of them I felt like was way smarter than me
00:05:58.560 --> 00:06:00.000
and it was intimidating,
00:06:00.000 --> 00:06:03.560
but absolutely was a good outcome.
00:06:03.560 --> 00:06:05.600
- Yeah, that's the place to be, right?
00:06:05.600 --> 00:06:06.440
- Yeah.
00:06:06.440 --> 00:06:08.520
- Unless, you know, of course,
00:06:08.520 --> 00:06:09.720
I think a lot of us too in tech
00:06:09.720 --> 00:06:12.120
deal with ego issues sometimes.
00:06:12.120 --> 00:06:13.000
I know I did, right?
00:06:13.000 --> 00:06:15.000
Like, hey, I'm pretty smart.
00:06:15.000 --> 00:06:15.840
I know what I'm doing.
00:06:15.840 --> 00:06:18.320
And when you're young and ambitious, right?
00:06:18.320 --> 00:06:20.320
And you run into other really smart people
00:06:20.320 --> 00:06:23.680
that like are smart and you go,
00:06:23.680 --> 00:06:24.880
okay, I'm not that smart.
00:06:24.880 --> 00:06:26.280
Yeah, it's a little humbling, but-
00:06:26.280 --> 00:06:27.120
- It can be humbling.
00:06:27.120 --> 00:06:27.960
- Yeah.
00:06:27.960 --> 00:06:29.080
- Those are probably good life lessons,
00:06:29.080 --> 00:06:31.160
but they're hard to take when you're young, I remember.
00:06:31.160 --> 00:06:32.480
- Yeah, absolutely, yeah.
00:06:32.480 --> 00:06:33.480
- Fantastic.
00:06:33.480 --> 00:06:34.860
So how about now?
00:06:34.860 --> 00:06:37.160
What are you doing day to day?
00:06:37.160 --> 00:06:40.120
- Yeah, so I head up the developer relations team at Docker
00:06:40.120 --> 00:06:43.400
and I get to do what I love.
00:06:43.400 --> 00:06:45.560
You know, I still get to play around with tech
00:06:45.560 --> 00:06:48.360
and learn new things and build stuff,
00:06:48.360 --> 00:06:50.640
but then I also get to transfer that knowledge to others
00:06:50.640 --> 00:06:51.560
or at least try.
00:06:51.560 --> 00:06:56.240
So teaching and mentoring is what I do mostly day to day,
00:06:56.240 --> 00:06:58.900
write content and workshops and those types of things.
00:06:58.900 --> 00:07:03.200
Yeah, so, and I help folks learn to use containers
00:07:03.200 --> 00:07:06.700
in Docker to help build applications, right?
00:07:06.700 --> 00:07:09.260
So yeah, it's fantastic.
00:07:09.260 --> 00:07:11.600
I love my job, truly do.
00:07:11.600 --> 00:07:12.440
- I can imagine.
00:07:12.440 --> 00:07:14.920
You know, I really have thought for a long time
00:07:14.920 --> 00:07:19.320
that this developer evangelist sort of role,
00:07:19.320 --> 00:07:21.120
it just seems so neat
00:07:21.120 --> 00:07:23.720
because you get to work with a bunch of people,
00:07:23.720 --> 00:07:24.680
you're not really there
00:07:24.680 --> 00:07:27.200
just closing boring JIRA tickets every day, right?
00:07:27.200 --> 00:07:30.440
You get to just work at like the fun level of software
00:07:30.440 --> 00:07:32.200
and really interact with a lot of different people.
00:07:32.200 --> 00:07:35.000
You get to go to conferences, maybe be on a podcast,
00:07:35.000 --> 00:07:36.080
all those kinds of things.
00:07:36.080 --> 00:07:40.520
It's a really cool space to be after you've learned enough
00:07:40.520 --> 00:07:43.200
in the industry to play that role.
00:07:43.200 --> 00:07:44.120
- Yeah, a hundred percent.
00:07:44.120 --> 00:07:46.920
I remember seeing, I had thought about the role before,
00:07:46.920 --> 00:07:51.000
but I think it was at Google's, what is it?
00:07:51.000 --> 00:07:52.920
Google Next, I think it's their conference.
00:07:52.920 --> 00:07:56.120
But yeah, and that was when I kind of,
00:07:56.120 --> 00:07:58.280
I had known about Dev Advocates and DevRel,
00:07:58.280 --> 00:07:59.880
but when I saw a couple of speakers, I was like,
00:07:59.880 --> 00:08:02.680
"Oh wait, Dev Advocates, oh, they get paid to do this.
00:08:02.680 --> 00:08:04.480
This isn't just, you know,
00:08:04.480 --> 00:08:06.480
Peter who's a software engineer then speaks, right?
00:08:06.480 --> 00:08:07.360
This is their job."
00:08:07.360 --> 00:08:09.360
And I was like, "Oh, that's pretty interesting."
00:08:09.360 --> 00:08:10.200
Yeah, yeah.
00:08:10.200 --> 00:08:12.920
- Yeah, you gotta have the right personality for it,
00:08:12.920 --> 00:08:14.160
but I think it's really fantastic.
00:08:14.160 --> 00:08:19.160
I did actually a whole episode, episode 189 on this role.
00:08:19.160 --> 00:08:21.120
And I had four or five people
00:08:21.120 --> 00:08:23.240
who were at different companies doing this.
00:08:23.240 --> 00:08:25.640
So yeah, it's really, really neat.
00:08:25.640 --> 00:08:30.640
So let's, you know, I do wanna catch up on what is new