profile
viewpoint
James Spurin spurin DiveInto Publications London https://diveinto.com Cloud Engineer / Software Developer | Kubernetes (CKA / CKAD) | Technical Author (Dive Into Ansible) | DevOps | Automation

spurin/diveintoansible 485

Content for DiveInto.com's 'Dive Into Ansible' Course

spurin/diveintoansible-lab 201

Dive Into Ansible Lab

spurin/masteringansible 109

Repository for course content for Packt Mastering Ansible Course

spurin/docker-hexo 18

Docker container for running hexo with hexo admin 🐋

spurin/python-ipc-examples 3

Python Inter Process Communication Examples 💬

spurin/CNCF-Kubernetes-Clusters-Need-Persistent-Data 2

Scripts used in the CNCF talk @ https://www.youtube.com/watch?v=xa5G-c8iYEo

spurin/kubernetes-contributions 2

Sharing is caring, personal tracker for contributions that I have made or am working on with Kubernetes ☸️

spurin/diveintoansible-images 1

Dockerfiles for course lab images

spurin/diveintoansible-lab-gcp-cloudshell 1

Preconfigured GCP Cloudshell Dive Into Ansible Lab

spurin/london-iac 1

Ansible London-IAC Presentation 20210128

issue commentspurin/diveintoansible-lab

Source Code to Dockerfiles

@logan-connolly - Reading back through our discussion, I previously mentioned back in the August 2021 reply that I recommended to look at supervisord instead of systemd. Whilst this is still quite good advice in general, it's worth knowing that I had a eureka moment that brought stability to the use of these images across all platforms/os variations.

This change was running systemd in legacy mode on Debian based systems (i.e. Ubuntu). The CentOS systems always seemed to be a lot more stable and sometimes, where I'd see students encounter issues, the CentOS one would run happily whilst the Ubuntu ones exited.

For reference, here's the relevant lines of code with the fix in the parent container -

https://github.com/spurin/container-systemd/blob/ubuntu_20.04/Dockerfile#L1-L30

logan-connolly

comment created time in 13 hours

startedspurin/diveintoansible-images

started time in 13 hours

startedspurin/diveintoansible-images

started time in 13 hours

create barnchspurin/diveintoansible-images

branch : tests

created branch time in 2 days

push eventspurin/diveintoansible-lab

James Spurin

commit sha d6a3d4811eeca5c0808ef1e4b6380ed6b6238773

updated tests

view details

push time in 2 days

push eventspurin/diveintoansible-lab

James Spurin

commit sha 5b1d2ce66afdfce2ee58f240a37254984ed90ba9

include LOCALHOST_OVERRIDE and OPEN_LINKS_AS_TABS examples

view details

push time in 2 days

push eventspurin/diveintoansible-images

James Spurin

commit sha 5a7426608d2f26b624829bb806858017a38ab69f

update docker in docker (dind)

view details

push time in 2 days

issue commentspurin/diveintoansible-lab

Source Code to Dockerfiles

tagging @logan-connolly @claudiospizzi @carlosdoliveira @bsahane @rkujawa @s2005 for reference

logan-connolly

comment created time in 2 days

issue commentspurin/diveintoansible-lab

Source Code to Dockerfiles

Am very pleased to let you followers of this issue know that the sources for the lab images are now complete! 🚀 🥳

Here's the last component that builds upon the previous two container images that I shared above -

https://github.com/spurin/diveintoansible-images

I've taken this opportunity to refactor/cleanup/comment the Dockerfiles and some of the contents used in the images, i.e. helper scripts. Ansible in this one is also updated to the latest which is currently 5.2.0, lastly I've also included my build scripts in the repository should you wish to use them yourselves. Where external precompiled binaries are used (for example ttyd), source locations are commented in the Dockerfile allowing all to verify that sources haven't been interfered with and have been accessed directly from the ttyd build sources.

With these being new images and a new version of Ansible, I'll be sending a course announcement for testing and these images will then roll out as the default in the new couple of weeks.

I appreciate everyone's patience with this and hope you're able to make use of these efforts in your own projects! If you do, please let me know.

@rkujawa as you rightly pointed out with your 3 cents (that I appreciate 😀), it is important when running containers that use privileged escalation that the sources can be verified and, if desired can be built independently. Given your area of expertise, it would be appreciated if you could cast your eyes over the sources I've shared and to confirm that this covers off the concerns that you raised.

Best Regards

James Spurin

logan-connolly

comment created time in 2 days

push eventspurin/diveintoansible-lab

James Spurin

commit sha b76db9d4812bd8b3499963c31e2308d1773b5638

update release-candidate branch

view details

push time in 2 days

push eventspurin/diveintoansible-images

James Spurin

commit sha dfecd48466fd3b5775cb7297e7e3b712eb8c07ba

set to ubuntu_20.04

view details

push time in 3 days

push eventspurin/container-systemd

James Spurin

commit sha 8212df19475a55f47df0e31032d4d86fa768a8a3

Update container-entrypoint.sh

view details

push time in 3 days

push eventspurin/container-systemd

James Spurin

commit sha 8e74953074219da3a07938fa302d24025d7331ff

Update container-entrypoint.sh

view details

push time in 3 days

push eventspurin/container-systemd

James Spurin

commit sha d86e90f71f8d92df297c17688681636d5776a9ff

Update container-entrypoint.sh

view details

push time in 3 days

push eventspurin/container-systemd

James Spurin

commit sha c0a674e891ff0ceb95befa9863b8eb6e654bdf2d

Update container-entrypoint.sh

view details

push time in 3 days

push eventspurin/container-systemd

James Spurin

commit sha 0f36ecf94b60977289c64e64f383c34564712089

Update container-entrypoint.sh

view details

push time in 3 days

create barnchspurin/diveintoansible-images

branch : ansible

created branch time in 3 days

push eventspurin/diveintoansible-images

James Spurin

commit sha 837072e4437cdf673cca3f1de13832e553168849

set to centos_8

view details

push time in 3 days

push eventspurin/diveintoansible-images

James Spurin

commit sha 4c8f23f8cac0c21723a25c632260461067f1976b

set to centos_8

view details

push time in 3 days

push eventspurin/diveintoansible-images

James Spurin

commit sha 528c4aa8ba1cdfb334800b8f80ae9bb5c19bc9c7

updated readme

view details

push time in 3 days

push eventspurin/diveintoansible-images

James Spurin

commit sha 2d86bf8bbe4b63fbbe6db9dc0fb961a84b7247f5

updated readme

view details

push time in 3 days

push eventspurin/diveintoansible-images

James Spurin

commit sha e61bdd123b0565dead552bb25d33ee3209c5e4b8

updated readme

view details

push time in 3 days

push eventspurin/diveintoansible-images

James Spurin

commit sha 3d433da8d0f22546bc7b3d7e06555cf422c66983

updated readme

view details

push time in 3 days

push eventspurin/diveintoansible-images

James Spurin

commit sha a5e30b8d77a00ebd5ae1f91aee1699a7958dfb7f

updated readme

view details

push time in 3 days

push eventspurin/diveintoansible-lab

James Spurin

commit sha aefb5db389c3f47b44ef77d8172d8ff18b3c5436

Update README.md

view details

push time in 3 days

push eventspurin/diveintoansible-images

James Spurin

commit sha 028acc6a807e86f3c8ca51e8989da5d0557fb44f

added course image

view details

push time in 3 days

push eventspurin/diveintoansible-images

James Spurin

commit sha 893463542bf6d07f43fed0a6f949f771b174a1eb

first commit

view details

James Spurin

commit sha 4eab51124f557aacccc71b3c21efd8e7ee1f3fb0

updated readme

view details

push time in 3 days

push eventspurin/diveintoansible-images

James Spurin

commit sha 6dea2f1cf90558fc7fe3ca400aa29bf33dcfe398

Update README.md

view details

push time in 3 days

create barnchspurin/diveintoansible-images

branch : portal

created branch time in 3 days

create barnchspurin/diveintoansible-images

branch : dind

created branch time in 3 days

more