DEV Community


#100DaysOfCloud | Day 1

daltonincloud profile image DaltonInCloud ・2 min read

What Did I learn -
Look at Software Development lifecycle:

Planning, where we discover the client's issues they want to be resolved.
Analysis, where we get into specifically what could be causing the clients issues and what could be implemented to solve this.
Design, once we decide on a solution from the analysis phase, this is where we lay the framework for what we will implement.
Implementation, after the design is laid out we start working on coding and spinning up our servers.
Testing, QA looks for outstanding issues and bugs from the implementation phase.
Deployment, where the product goes from Dev to a production env.
(Next implementation cycle begins)

What Did I Do -

Spun up a centos server:

rpm -q centos-release

to find release/version was centos-release-7-8.2003.0.el7.centos.x86_64.
Installed Docker, ran successful and failed applications looked at logs for successful pulls and unsuccessful container push, this was from alpine and nginx dockerfiles. I used

docker container logs <CONTAINER ID or NAME>

to find container logs.

docker container ls

to find running docker container images, and use

docker container ls

to find running and stopped docker container images on your machine.

Docker container inspect <CONTAINER ID>

to inspect the docker elements such as IP, image, name, and any other info for the dockerfile. To force removing all inactive dockerfiles you can use the syntax

docker container prune -f

to force them to be removed. To remove active docker images you can use

docker container rm -f <CONTAINER ID> <CONTAINER ID2> etc...

if you need to remove more than one active container.

For tomorrow -

I plan on continuing to learn more about Docker, getting into Networking, storage, and Dockerfiles more in-depth. I also plan on getting more hands-on with EKS as well as creating a Minecraft server as a Linux lab, hopefully getting into creating a Dockercraft server at one point.

Discussion (0)

Editor guide