Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

binary install in google container optimized OS

As it is the Linux version of OS, I tried firing, hoping that would work

apt-get install jq

But it says apt-get: command not found.

How I can install new binaries as I wanted to add some extra logic in the startup script which required few extra libs to be installed first.

Please correct me if I am doing anything wrong.

like image 502
Indrajeet Gour Avatar asked May 17 '26 11:05

Indrajeet Gour


1 Answers

Container OS is locked down. You are prohibited from installing programs. Create a container and run the command in the container.

Container-Optimized OS does not include a package manager; as such, you'll be unable to install software packages directly on an instance. However, you can use CoreOS toolbox to install and run debugging and admin tools in an isolated container.

Container-Optimized OS Overview

like image 92
John Hanley Avatar answered May 19 '26 01:05

John Hanley



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!