bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 31쪽 중 27쪽
ep_mode=true --no_cache=true
```
```Text Linux theme={null}
./io_net_launch_binary_linux --disable_sleep_mode=true --no_cache=true
```
</CodeGroup>
<Info>
After one successful sign-in, the token will be saved in memory.
</Info>
<Frame>
<img alt="" />
</Frame>
### How can you run an existing worker UUID in the new authentication and authorization system?
As of May 2024, we have transitioned to a new authentication and authorization system. Follow these steps to run your existing worker UUID again.
#### 1. Run the Command to Connect the Device
Open the Terminal on your system by navigating to the Start menu and using the search function. The process is similar regardless of your operating system.
<Frame>
<img alt="" />
</Frame>
Then run the command in the Terminal. For Windows, start by downloading and running the executable file.
* Download the binary for your operating system running command. [**For Windows you need to download the executable file. You can see how it's done here**](/docs/guides/workers/install-on-windows#7-download-and-launch-io-binary)
<CodeGroup>
```Text MacOS theme={null}
curl -L https://github.com/ionet-official/io_launch_binaries/blob/main/io_net_launch_binary_mac -o io_net_launch_binary_mac
```
```Text Windows theme={null}
https://github.com/ionet-official/io_launch_binaries/raw/main/io_net_launch_binary_windows.exe
```
```Text Linux theme={null}
curl -L https://github.com/ionet-official/io_launch_binaries/blob/main/io_net_launch_binary_linux -o io_net_launch_binary_linux
```
</CodeGroup>
* Use the following command to grant permissions to the new binary:
<CodeGroup>
```Text MacOS theme={null}
chmod +x io_net_launch_binary_mac
```
```Text Linux theme={null}
chmod +x io_net_launch_binary_linux
```
</CodeGroup>
* Launch the binary to connect your device to the platform.
<CodeGroup>
```Text MacOS theme={null}
./io_net_launch_binary_mac --no_warnings=true
```
```Text Windows theme={null}
./io_net_launch_binary_windows.exe --no_warnings=true
```
```Text Linux theme={null}
./io_net_launch_binary_linux --no_warnings=true
```
</CodeGroup>
<Frame>
<img alt="" />
</Frame>
#### 2: To authorize the device with [IO.ID](https://id.io.net), follow one of the options below and verify your IO.ID account:
<Info>
Remember, you will have about 1-2 minutes to complete the authorization of the device. If it expires, run the code again.
</Info>
You can do this in two ways: **Copy the Link from the Terminal**: Paste it into your browser and confirm the action.
<Frame>
<img alt="" />
</Frame>
After confirmation, the system will prompt you to log in.
<Frame>
<img alt="" />
</Frame>
#### 3. Save the Token
The information below is found in the CLI. Keep this token accessible.
<Frame>
<img alt="" />
</Frame>
#### 4. For all other machines use the saved token
This does not require manual reauthentication and can be used for all your worker nodes.
<Frame>
<img alt="" />
</Frame>
### Why Do Containers Disappear from Docker?
If the container disappears from docker, then your worker was likely blocked. If this happens, you must recreate the worker from scratch.
<Frame>
<img alt="" />
</Frame>
### Why Is My Worker Blocked?
Blocked status is indicative that our system detected GPU utilization that was not authorized by our internal checks. It's important that GPU availability is dedicated 100% to the task being volunteered for the health of the <Tooltip>DePIN</Tooltip>.
Blocked status can occur for a few different reasons, primarily:
* **Excessive GPU Utilization:** Activities such as playing games or using graphics-intensive applications. (You'll need to pause these activities before you start usage.)
* **Mining Detection:** Our team has implemented an update to detect mining devices and instances with high GPU usage, resulting in an automatic ban.
* **Device and Hardware Switching:** Our team has implemented a mechanism for blocking device if they were verified and later a different device with a different hardware was detected. If you need to use a new hardware, please create a new device
<Frame>
<img alt="" />
</Frame>
### Why Does My Worker Have an Unsupported Status?
This occurs when your GPU/CPU is not listed among the supported devices on the IO Network. You can check the list of supported devices [here](/docs/guides/workers/supported-devices).
<Frame>
<img alt="" />
</Frame>
### Why Does My Worker Disappear from My Dashboard?
This issue can stem from a few main causes:
1. **Unsuccessful Connection**: You didn't successfully connect the new worker. Here's an example of a successful worker connection:
<Frame>
<img alt="" />
</Frame>
2. **Unsupported Hardware**: If you successfully connected a new worker but the GPU/CPU you're using is not supported, you won't see your worker on the dashboard. You can check the list of supported devices [here](/docs/guides/workers/supported-devices).
3. **User Interface Issues**: If your worker was running normally and suddenly disappears from the dashboard, it could be due to a problem with the user interface (UI). In such cases, try refreshing the website. If the worker still doesn't appear, please try again later or [create a ticket](https://worker.io.net) for our support team to assist you.
### Creating Multiple Workers from the Same Device
Users may inadvertently create a new worker each time the previous one fails instead of re-running the existing worker. To address this issue, you need to **Terminate the old workers** and learn how to restart Docker to continue running the existing worker. Follow the instructions [here](/docs/guides/workers/troubleshoot-worker-general#how-can-i-pause-or-reset-a-worker-if-it-has-disconnection-issues%3F).
<Frame>
<img alt="" />
</Frame>
### Device Readiness Status
Your device status needs to be either **Cluster Ready** or **Hired** to be nominated for Block Rewards and be eligible for hiring. You can verify device status either on the device detail page or on the **Workers** tab in **IO Explore**. For more information, see the [Get Started - IO Worker](/docs/guides/workers/intro) doc.
The four possible **Readiness** statuses are:
| Status | Description |
| - | - |
| **Cluster Ready** | Device meets PoW requirements and passed several Cluster Formation verifications. |
| **Hired** | Device is currently hired by a cluster. |
| **Pending** | The device has joined the network and is currently undergoing both the PoW and Cluster Readiness test. This process can take up to 12 hours of cumulative uptime after onboarding, but may complete sooner if your device passes our tests early. If your device remains in a Pending state after more than 12 hours of uptime, please contact us. |
| **Not Block Reward Ready** | Device doesn't meet the criteria for block reward eligibility, mainly Cluster Formation verifications. |
**Not Block Reward Ready** offers one of three tooltips in the UI to provide troubleshooting tips.
* **Please check your device's computational capacity**- Your device's computational capacity is below the required threshold.
* **Please check your device setup and computational capacity**- Your device setup might not be configured correctly and its computational capacity is below the required threshold. Please refer to the worker setup guide.
* **Please check your device setup**- Your device setup might not be configured correctly. Please refer to the worker setup guide.
<Info>
Feel free to [check our knowledge](https://support.io.net/en/support/home) base for answers, and if you still need help, don’t hesitate to open a support ticket!
</Info>
# Ubuntu: Install Docker
Source: https://io.net/docs/guides/workers/ubuntu-install-docker
A step-by-step guide for installing Docker on Linux-based machines
<iframe title="Docker Guide for Linux" />
### What is Docker?
Let's take a quick look at what **Docker** is? Imagine Docker as a magic box where you put your software and everything it needs to run. This box can be easily carried to any computer, and when you open it, your software works just the way you packed it, without needing anything extra from that computer. Here are a few steps to install Docker:
### Before installing Docker, please check if it is already installed
Run the following command to verify if Docker is not installed:
```
docker compose version
```
If you see the following error, you can proceed with this guide:
```
Command 'docker' not found, but can be installed with:
sudo snap install docker # version 24.0.5, or
sudo apt install podman-docker # version 3.4.4+ds1-1ubuntu1.22.04.2
sudo apt install docker.io # version 24.0.7-0ubuntu2~22.04.1
See 'snap info docker' for additional versions.
```
<Frame>
<img alt="" />
</Frame>
### 1. Download Docker
Go to the [Docker website](https://www.docker.com/products/docker-desktop/) and click on "**Download for Linux**." You will be redirected to a page with supported Linux platforms.
<Frame>
<img alt="" />
</Frame>
### 2. Download the appropriate version for your system
Select the appropriate version for your system, such as Ubuntu, and click on the link in the **"Supported platforms"** section of the page. Downloading the Docker file may take some time. Please be patient.
<Frame>
<img alt="" />
</Frame>
### 3.Open the Ubuntu Terminal
through the Start Menu
**Terminal** is a tool on your computer that lets you type in commands to tell the computer what to do. Instead of clicking on things with a mouse, you write instructions, and the computer follows them. It's like talking directly to your computer using text.
Click the **Start Menu** icon, start typing "**Terminal**" in the search field, then click the **Terminal** icon:
<Frame>
<img alt="" />
</Frame>
### 4. Copy and run the first command
Return to the Docker page and copy the first command from the "Install Docker Desktop" section:
```
sudo apt-get update
```
<Frame>
<img alt="" />
</Frame>
Paste the command into the Terminal and press Enter. After that, you will be prompted to enter your password for confirmation. Type your password (note that it will not be visible while typing) and press Enter again.
<Frame>
<img alt="" />
</Frame>
### 5. Check the .deb package
In the Terminal, you need to check the name of the downloaded file. First, navigate to the "Downloads" folder by typing this command:
```
cd Downloads/
```
Then, enter the following command to see the list of files in the "Downloads" folder:
```
ls
```
<Frame>
<img alt="" />
</Frame>
### 6. Copy the installation command
Return to the Docker installation page and copy the second command from the "Install Docker Desktop" section:
```
sudo apt-get install ./docker-desktop-amd64.deb
```
<Warning>
Make sure to replace the package name with the correct one from the Terminal (based on what you saw in the previous step).
</Warning>
<Frame>
<img alt="" />
</Frame>
Paste the command into the **Terminal** and press Enter. After that, you will be prompted to enter your password for confirmation. Type your password (note that it will not be visible while typing) and press Enter again.
<Danger>
If you encounter an error related to the absence of Docker CE-CLI during the installation, you can follow this detailed guide: [How to Install Docker CE on Ubuntu](https://www.rosehosting.com/blog/how-to-install-docker-ce-on-ubuntu-22-04).
After completing the steps, you can continue installing Docker Desktop from where you left off.
</Danger>
During the installation process, you will be asked to confirm if Docker can use some space on your computer. Type **Yes** to complete the installation successfully..
<Frame>
<img alt="" />
</Frame>
<Warning>
You must restart your device after installing Docker Desktop; otherwise, the system may not allow you to use it properly, even if Docker appears to be running.
</Warning>
### 7. Run the Docker Desktop
Return to the Docker installation page and copy the command from the "Launch Docker Desktop" section:
<Frame>
<img alt="" />
</Frame>
Paste the command into the Terminal and press Enter. If there are no issues with the installation, Docker should be running.
<Frame>
<img alt="" />
</Frame>
### 7. Verify that Docker Desktop is Successfully Installed
Copy and paste the following line into Terminal.
<CodeGroup>
```Text Terminal Command theme={null}
sudo systemctl status docker
```
</CodeGroup>
<Frame>
<img alt="" />
</Frame>
The result will be the current version of running Docker.
```
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2023-02-09 03:02:24 CST; 10s ago
TriggeredBy: ● docker.socket
Docs: https://docs.docker.com
Main PID: 2361 (dockerd)
Tasks: 9
Memory: 26.2M
CPU: 780ms
CGroup: /system.slice/docker.service
└─2361 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
```
### 8. Verify Docker Installation with GPU
Confirmation Command:
* To confirm that your setup is working correctly, run:
<CodeGroup>
```Text Terminal Command theme={null}
docker run --gpus all nvidia/cuda:11.0.3-base-ubuntu18.04 nvidia-smi
```
</CodeGroup>
* The output should resemble the information displayed by `nvidia-smi`.
* This command verifies that Docker is correctly utilizing your GPU.
### Congratulations on Successfully Setting up Docker
Now that Docker has been successfully installed and is running, you can proceed with [setting up the Worker](/docs/guides/workers/install-on-ubuntu).
### Troubleshoot Docker Installation
Use the Reset Script (end of page):
* If the confirmation command fails, use the reset\_drivers\_and\_docker script:
<CodeGroup>
```Text Terminal Command theme={null}
chmod +x reset_drivers_and_docker.sh
./reset_drivers_and_docker.sh
```
</CodeGroup>
* After running the script, restart your device.
* Rerun the setup from the website. After an automatic restart, rerun the setup to complete the installation.
* If the confirmation command continues to fail, seek assistance on the community support channel.
<Info>
If you encounter issues with Docker, please refer to our [Troubleshooting Docker guide](/docs/guides/workers/troubleshoot-docker). If the problem persists or if you need further assistance, feel free to [check our knowledge base](https://support.io.net/en/support/home) for answers, and if you still need help, don’t hesitate to open a support ticket!
</Info>
# Waiting for IO Containers to Start
Source: https://io.net/docs/guides/workers/waiting-for-io-containers-to-start
On Linux the above issue can be due to several reasons:
1. **Nvidia-container-toolkit.** Ensure the Nvidia-container-toolkit is installed and properly configured.
2. **Docker Daemon.** Check if Docker Daemon is running.
3. **GPU Configuration.** Docker needs to be configured with the Nvidia runtime to use the GPU inside a container. This can be fixed by installing and configuring the Nvidia-container-toolkit.
#### Debugging:
1. **Test GPU with Docker:** Run the following command to check if Docker can access the GPU:
```
docker run --gpus all nvidia/cuda:11.0.3-base-ubuntu18.04 nvidia-smi
```
If **nvidia-smi** output is visible, Docker can use the GPU inside the container. If not, try restarting Docker Daemon:
```
sudo systemctl restart docker
```
Else there might be some error similar to the following:
<Frame>
<img alt="" />
</Frame>
2. **Error Debugging:** If errors related to **nvidia-container-toolkit** are shown, it may not be installed or configured correctly.
#### Commands to Check Nvidia-container-toolkit Installation:
1. Check if Nvidia-container-toolkit is installed:
```
nvidia-container-runtime --version
dpkg -l | grep nvidia-container-toolkit
```
2. If it's installed but not configured properly, follow one of the two methods below:
#### Method 1: Configure daemon.json:
1. Open the daemon.json file:
```
sudo nano /etc/docker/daemon.json
```
2. Paste the following:
```
{
"runtimes": {
"nvidia": {
"path": "nvidia-container-runtime",
"runtimeArgs": []
}
},
"default-runtime": "nvidia"
}
```
3. Save and exit, then reboot the server:
```
sudo reboot
```
4. After reboot, restart Docker:
```
sudo systemctl restart docker
```
#### Method 2: Configure Nvidia-ctk Directly:
Run the following commands:
```
sudo nvidia-ctk runtime configure --runtime=docker
sudo systemctl restart docker
```
#### If Nvidia-container-toolkit is Not Installed:
1. Install Nvidia-container-toolkit:
```
curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg && /
curl -s -L https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list | /
sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' | /
sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list
```
2. Enable experimental features:
```
sudo sed -i -e '/experimental/ s/^#//g' /etc/apt/sources.list.d/nvidia-container-toolkit.list
```
3. Update and install the toolkit:
```
sudo apt-get update
sudo apt-get install -y nvidia-container-toolkit
sudo nvidia-ctk runtime configure --runtime=docker
sudo systemctl restart docker
```
#### Verify Nvidia-container-toolkit:
1. Check if the toolkit is in the **\$PATH**:
```
/usr/bin/nvidia-ctk --version
echo $PATH
```
2. Verify the runtime is configured:
```
docker info | grep -i runtime
```
Sample output:
<Frame>
<img alt="" />
</Frame>
#### Final GPU Test:
Run the following command to test if Docker can use the GPU:
```
docker run --gpus all nvidia/cuda:11.0.3-base-ubuntu18.04 nvidia-smi
```
# Worker Disconnects When Containers Are Running
Source: https://io.net/docs/guides/workers/worker-disconnects-when-containers-are-running
If your Worker disconnects even when the containers are up, try the following checks:
1. Ensure resources aren't limited. Make sure Docker's "**Resource Saver**" feature is **disabled** in the **Resources tab** of **Docker Settings**.
<Frame>
<img alt="" />
</Frame>
2. Check Docker Resource Allocation. Ensure Docker is allocated the minimum required **CPU**, **RAM**, and **disk space**. System requirements are as follows:
* **Memory**: At least 512MB of free RAM (2GB is recommended)
* **Disk**: Adequate storage to run the Docker containers you intend to use
* **CPU/GPU**: You can check the currently supported [CPUs/GPUs](/docs/guides/workers/supported-devices).
3. Verify Power Supply to GPU(s). Ensure the GPU(s) are receiving adequate power for stable operation.
# Agents List
Source: https://io.net/docs/reference/ai-agents/get-agents-list
openapi/ai-agents/get-agents-list.json GET /api/v1/agents
Get a list of all the available agents.
<Warning>
**Beta Notice:** This project is in rapid development and may not be stable for production use.
</Warning>
# Getting Started with AI Agents API
Source: https://io.net/docs/reference/ai-agents/getting-started-with-api-agents
<Warning>
Beta Notice: This project is in rapid development and may not be stable for production use.
</Warning>
***AI Agents*** in **IO Intelligence** are specialized assistants designed to handle a variety of tasks, from reasoning and summarization to sentiment analysis and translation. These agents leverage advanced AI capabilities to automate complex workflows, enhance decision-making, and streamline information processing.
Each ***AI Agent*** is tailored for a specific function — whether it is extracting key information, classifying data, moderating content, or translating languages. By integrating these agents into your applications, you can harness powerful AI-driven automation with ease.
### Important Note on Usage Limits
Each model within **IO Intelligence** has its own value and credit consu프로젝트로 돌아가기