What have I been working on for my docker-like solution native to macOS
Okerew

Okerew @okerew

About: I am student that programs mainly in python and java script also sometimes in rust. Reach me on other platforms: https://coderlegion.com/user/okerew https://x.com/okerewwar?s=21

Location:
Poland
Joined:
Jul 9, 2024

What have I been working on for my docker-like solution native to macOS

Publish Date: Jul 26 '24
0 0

Working on a scripting language, deployment features for my docker-like solution native to macOS.
https://github.com/Okerew/osxiec

# This is an example script for the OSXIEC scripting language

# Log the start of the script
LOG Starting script for $container_name

# Set container memory limits
SET_MEMORY $mem_soft $mem_hard

# Set CPU priority
SET_CPU $cpu_priority

# Execute a command
EXECUTE echo "Container $container_name initialized"

# Conditional execution
SET status running
IF status==running EXECUTE echo "Container is operational"

# Sleep for 2 seconds
SLEEP 2

# Echo some information
ECHO Container $container_name is configured with:
ECHO - Memory limits: $mem_soft MB (soft) / $mem_hard MB (hard)
ECHO - CPU priority: $cpu_priority
Enter fullscreen mode Exit fullscreen mode

Comments 0 total

    Add comment