How to Setup Docker CE with Nexus Repository Integration
Abotts Logo Abotts Partners with singapore based tech giant to help migrate their public sector customer from Sybase to SQL server.
Upworks Logo Abotts partners with NYPL to integrate with their partner libraries.
Abotts Logo ABOTTS partners with County in Los Angeles to upgrade their court infrastructure into new technologies.
Upworks Logo Upworks Inc partners with ABOTTS to build their Oracle Cloud Infrastructure (OCI) and migrate their custom applications to OCI.
Abotts partners with startup to manage and maintain their IT infrastructure and support SOC2 reporting.
Gnorth Logo Abotts Inc Partners with Gnorth consulting to deploy exadata and ODA for a large public sector customer.
Abotts Logo Abotts Partners with singapore based tech giant to help migrate their public sector customer from Sybase to SQL server.
Upworks Logo Abotts partners with NYPL to integrate with their partner libraries.
Abotts Logo ABOTTS partners with County in Los Angeles to upgrade their court infrastructure into new technologies.
Upworks Logo Upworks Inc partners with ABOTTS to build their Oracle Cloud Infrastructure (OCI) and migrate their custom applications to OCI.
Abotts partners with startup to manage and maintain their IT infrastructure and support SOC2 reporting.
Gnorth Logo Abotts Inc Partners with Gnorth consulting to deploy exadata and ODA for a large public sector customer.

Overview:

Docker: Docker is a software platform that allows you to build, test, and deploy applications quickly.

Docker packages software into standardized units called containers that have everything the software needs to run, including libraries, system tools, code, and runtime.

  • Using Docker, we can quickly deploy and scale applications into any environment and know your code will run.
  • Currently we are using Community Edition  19.x
  • Docker images are stored using the Nexus PRO Repository Manager. 
  • Private Docker registry entries are set using the daemon.json file in the hosts.

Security best practices:

  • Choosing the right base image from a trusted source and keeping it small
  • Using multi-stage builds
  • Rebuilding images
  • Checking your image for vulnerabilities

Sample Dockerfile :

Stage 1: Build the application

Recommendations :

  • Base Image : Recommended to use Base Image from Nexus Repository Manager . For Example : <<nexus host>>:8015/nodejs/node:18.8.0-alpine or Hardened Alpine Image.
  • Container Scanning : Regularly check for image vulnerabilities using Prisma Cloud.

Docker Installation:

Execute the below commands to install the Docker packages.

  • sudo yum-config-manager –add-repo https://download.docker.com/linux/centos/docker-ce.repo
  • sudo yum install -y docker-ce-20.10.22 docker-ce-cli-20.10.22 containerd.io
  • sudo systemctl restart docker && sudo systemctl stop docker
  • mkdir -p /apps/docker-data
  • cd /var/lib/docker/ && mv * /apps/docker-data
  • sudo usermod -aG docker gse && source
  • sudo vim /etc/docker/daemon.json
  • sudo vim /etc/sysconfig/docker
  • sudo systemctl restart docker
  • docker login -u xxxxx -p xxxxx nexus_url:nexus_port