How to install p8952/bocker. Official installation instructions. Project installation guide. Framework or library installation. Build installation instructions. How to setup and install from GitHub. Installation steps and setup instructions. Official docs and installation instructions GitHub.
p8952/bocker Installation Guide
How to install p8952/bocker. Official project installation instructions and setup guide.
⚡
Automated Install (Recommended)
Quick installation instructions for p8952/bocker. This is the fastest way to complete project installation and setup.
Install via curl
curl -fsSL https://hexmos.com/ipm-install | bash &&
ipm i p8952/bockeror
Install via npx
npx @hexmos/ipm i p8952/bockerPrerequisites
btrfs-progs
system_packageVersion: 3.10.0-1.el7.x86_64
curl
system_packageVersion: 7.82.0
iproute2
system_toolVersion: 4.19.0
iptables
system_toolVersion: 1.5.0
libcgroup-tools
system_packageVersion: 2.3.0
util-linux
build_toolVersion: 2.25.1
coreutils
system_packageVersion: 9.0.1
Manual Installation Methods
Manual installation instructions. How to install from GitHub source.
wget
which: no wget in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin)
$ bocker run img_42150 yum install -y wget
Installing : wget-1.14-10.el7_0.1.x86_64 1/1
Verifying : wget-1.14-10.el7_0.1.x86_64 1/1
Installed : wget.x86_64 0:1.14-10.el7_0.1
Complete!
$ bocker ps
CONTAINER_ID COMMAND
ps_42018 yum install -y wget
ps_42182 which wget
$ bocker commit ps_42018 img_42150
Removed: img_42150
Created: img_42150
$ bocker run img_42150 which wget
/usr/bin/wget
$ bocker run img_42150 cat /proc/1/cgroup
...
4:memory:/ps_42152
3:cpuacct,cpu:/ps_42152
$ cat /sys/fs/cgroup/cpu/ps_42152/cpu.shares
512
$ cat /sys/fs/cgroup/memory/ps_42152/memory.limit_in_bytes
512000000
$ BOCKER_CPU_SHARE=1024 \
BOCKER_MEM_LIMIT=1024 \
bocker run img_42150 cat /proc/1/cgroup
...
4:memory:/ps_42188
3:cpuacct,cpu:/ps_42188
$ cat /sys/fs/cgroup/cpu/ps_42188/cpu.shPost Installation Steps
- Start the server using the command: `bocker run`.
- Run database migrations using the command: `bocker run db migrate`.
