crazyoptimist
Blog
About
  • How to Install Docker Engine (Not a Legacy Version!) on Ubuntu Bionic or Focal

    Jun 11, 2020 · 1 min read  ·
    Share on:

    In some cases, you may get stuck due to docker and docker compose version. Let's follow up on docker official documentation: 1apt remove docker docker-engine docker.io containerd runc # purging the legacy version if exists 2apt install apt-transport-https ca-certificates curl gnupg-agent software-properties-common …

    Read More
  • How to Dockerize a Full Stack MEVN Application

    Feb 15, 2020 · 3 min read  ·
    Share on:

    First things first. Let’s check the directory structure of the app. A Full Stack MEVN Application Let’s take a look into the DB image first. 1FROMmongo:latest23WORKDIR/app4COPY . /app56ENV MONGO_INITDB_ROOT_USERNAME=root 7ENV MONGO_INITDB_ROOT_PASSWORD=password 8 9EXPOSE27017I thought importing dump data should be …

    Read More
  • Basic Docker Notes

    Dec 28, 2019 · 2 min read  ·
    Share on:

    To run a container from an image: 1docker container run -it --rm ubuntu /bin/bash -t: terminal inside -i: (STDIN) grabbing --rm: remove container automatically when process exits --name: name the container or daemon -d: daemonize the container running To list all containers: 1docker container ps -a To start or stop …

    Read More

crazyoptimist

Software Engineer
Read More

Featured Posts

  • Automatic Https With Caddy - Extremely Easy
  • How to Deploy Next.js App to AWS EC2 in Production and Set up CI/CD with Github Actions
  • GPG Key in Git - Get Your Every Commit Verified
  • Deploy Your Web Apps in Just a Minute - Made With 💖 for Dockerists

Recent Posts

  • Python Development Environment Setup - an Excellent Way
  • Setup Neovim with vim-plug on Windows 11

Categories

DEVOPS 23 NETWORK 11 LINUX 6 DOCKER 3 GOLANG 3 JAVASCRIPT 3 VIM 2 PYTHON 1
crazyoptimist

Copyright  CRAZYOPTIMIST. All Rights Reserved