Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ npm run release
- `container start/stop/restart` - Container lifecycle
- `container delete` - Remove containers
- `container logs --follow` - Real-time log streaming
- `container images ls/pull/push/delete` - Image operations
- `container images list/pull/push/delete` - Image operations
- `container build` - Build from Dockerfile
- `container registry login/logout` - Authentication
- `container system start/stop` - Daemon control
Expand Down
4 changes: 2 additions & 2 deletions TROUBLESHOOTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,10 @@ sudo container system start
#### **1. Test Images Command**
```bash
# Check if this works
container images ls
container images list

# This is what the GUI uses
container images ls --format table
container images list --format table
```

#### **2. Refresh Images**
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/components/Sidebar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {
import clsx from 'clsx';
import { useTheme } from './ThemeProvider';
import ContainerSystemStatus from './ContainerSystemStatus';
import packageJson from '../../package.json';

const Sidebar = () => {
const location = useLocation();
Expand Down Expand Up @@ -91,7 +92,7 @@ const Sidebar = () => {

<div className="absolute bottom-0 left-0 right-0 p-4 border-t border-gray-200 dark:border-gray-700">
<div className="text-xs text-gray-500 dark:text-gray-400 text-center">
Container GUI v1.0.0
Container GUI v{packageJson.version}
</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/routes/Images.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const Images = () => {
const fetchImages = async () => {
try {
setLoading(true);
const result = await invoke('run_container_command', { args: ['images', 'ls'] });
const result = await invoke('run_container_command', { args: ['images', 'list'] });

if (result.success) {
// Parse the output to create a basic list (Apple Container format: NAME TAG DIGEST)
Expand Down Expand Up @@ -187,7 +187,7 @@ const Images = () => {
onClick={async () => {
console.log('Testing images command...');
try {
const result = await invoke('run_container_command', { args: ['images', 'ls'] });
const result = await invoke('run_container_command', { args: ['images', 'list'] });
console.log('Test result:', result);
alert(`Images command test:\nSuccess: ${result.success}\nOutput: ${result.stdout.substring(0, 100)}...`);
} catch (error) {
Expand Down
2 changes: 1 addition & 1 deletion src/utils/containerUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ export const CONTAINER_COMMANDS = {
PUSH: ['images', 'push'],
BUILD: 'build',
TAG: 'tag',
IMAGES: ['images', 'ls'],
IMAGES: ['images', 'list'],

// System management
SYSTEM_START: ['system', 'start'],
Expand Down