Skip to content

Josh's Tech Blog

Tech that interests me …

  • Home
  • About

Tag: docker

Quick Notes: Avoiding user interaction with tzdata

While trying to install libapache2-mod-php via apt-get, it will prompt for information regarding your geographic area. To avoid this do, put the following in your Dockerfile (configure the timezone that’s appropriate for you):

ENV TZ=Asia/Singapore
 RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone



passerbyj devops, sysadmin May 29, 2019August 16, 2019 1 Minute

Quick Notes: Install Docker on CentOS 7

$ sudo yum install -y yum-utils \
  device-mapper-persistent-data \
  lvm2

$ sudo yum-config-manager \
    --add-repo \
    https://download.docker.com/linux/centos/docker-ce.repo

$ sudo yum install docker-ce docker-ce-cli containerd.io
$ sudo systemctl start docker

passerbyj devops, sysadmin May 27, 2019August 16, 2019 1 Minute

Crashing into Docker …

I’ve worked with bare-metal servers, virtual machines, cloud (infrastructure as a service), however, I’ve never had a chance to work with containers yet – let’s see how this goes …

Screenshot from a very good introduction to Docker.
passerbyj devops Leave a comment May 25, 2019 1 Minute
Blog at WordPress.com.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Subscribe Subscribed
    • Josh's Tech Blog
    • Already have a WordPress.com account? Log in now.
    • Josh's Tech Blog
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...
 

    Design a site like this with WordPress.com
    Get started