Project

General

Profile

Support #906

Install Docker on FreeBSD

Added by Daniel Curtis almost 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Jails / Containers
Target version:
Start date:
07/09/2017
Due date:
% Done:

100%

Estimated time:
1.00 h
Spent time:

Description

This is a guide for installing (the old and outdated) Docker on FreeBSD 11.

Prepare the Environment

  • Make sure the system is up to date:
    pkg update && pkg upgrade
    

Install Docker

  • Install Docker:
    pkg install docker-freebsd ca_root_nss
    
  • Create the Docker ZFS dataset:
    zfs create -o mountpoint=/usr/docker zroot/docker
    
  • Start and enable docker at boot:
     
    echo 'docker_enable="YES"' >> /etc/rc.conf 
    service docker start 
    

Containers

FreeBSD

  • Pull a freebsd docker image:
    docker pull lexaguskov/freebsd
    
  • Start a shell inside the freebsd docker image:
    docker run -t -i lexaguskov/freebsd /bin/csh
    

Ubuntu

  • Pull an ubuntu docker image:
    docker pull ubuntu
    
  • Start a shell inside the freebsd docker image:
    docker run -t -i ubuntu /bin/bash
    

Resources

#1

Updated by Daniel Curtis almost 7 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
#2

Updated by Daniel Curtis over 6 years ago

  • Description updated (diff)
#3

Updated by Daniel Curtis over 6 years ago

  • Description updated (diff)
#4

Updated by Daniel Curtis over 6 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF