Skip to content

Instantly share code, notes, and snippets.

View BhavaniShekhar's full-sized avatar
💭
Working on Containerization Architecture

Pavan Bhavani Shekhar Devarakonda BhavaniShekhar

💭
Working on Containerization Architecture
View GitHub Profile
$setup_docker = <<SCRIPT
apt-get update;
DEBIAN_FRONTEND=noninteractive apt-get install -y apt-transport-https ca-certificates curl gnupg-agent software-properties-common;
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -;
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
apt-get update;
mkdir -p /etc/systemd/system/docker.service.d
echo "[Service]" >> /etc/systemd/system/docker.service.d/http-proxy.conf
echo "EnvironmentFile=-/etc/sysconfig/docker">> /etc/systemd/system/docker.service.d/http-proxy.conf
apt-get install -y docker-ce docker-ce-cli containerd.io;
# -*- mode: ruby -*-
# vi: set ft=ruby :
#Vagrant::DEFAULT_SERVER_URL.replace('https://vagrantcloud.com')
servers = [
{
:name => "k8s-master",
:type => "master",
:box => "ubuntu/xenial64",
:box_version => "20180831.0.0",
Search for the oracle xe images
docker search oracle-xe
Select the image according to your need and description number of pulls.
Get the best Oracle XE for 11g version here I've selected wnameless/oracle-xe-11g image.
docker pull wnameless/oracle-xe-11g
Confirm that from the image list
docker images|grep xe